fix linter issue

This commit is contained in:
Mohamed ABDELLANI
2023-10-11 10:55:14 +01:00
parent c750602b52
commit 1c2aa1c370
2 changed files with 2 additions and 2 deletions

View File

@@ -72,7 +72,7 @@ class Invoice
tax_adjustment_totals.map do |tax_rate_id, tax_amount|
tax_rate = tax_rate_by_id[tax_rate_id]
{
amount: Spree::Money.new(tax_amount, currency: currency),
amount: Spree::Money.new(tax_amount, currency:),
percentage: number_to_percentage(tax_rate.amount * 100, precision: 1),
rate_amount: tax_rate.amount,
}