Merge pull request #9611 from mkllnk/9605-tax-total

Index tax totals correctly for invoice display
This commit is contained in:
Maikel
2022-09-08 12:04:19 +10:00
committed by GitHub
5 changed files with 106 additions and 14 deletions

View File

@@ -92,10 +92,7 @@ describe '
end
def taxes_in_print_data
display_checkout_taxes_hash(order).map { |tax_rate, tax_value|
[tax_rate,
tax_value.format(with_currency: false)]
}
[["10.0%", "$11.00"]]
end
end
end