diff --git a/app/views/spree/admin/orders/_invoice_table4.html.haml b/app/views/spree/admin/orders/_invoice_table4.html.haml index 6b202f7b4d..573bd1cf83 100644 --- a/app/views/spree/admin/orders/_invoice_table4.html.haml +++ b/app/views/spree/admin/orders/_invoice_table4.html.haml @@ -51,18 +51,18 @@ = adjustment.display_adjustment_tax_rates %tfoot %tr - %td{:align => "right", :colspan => "3"} + %td{:align => "right", :colspan => "5"} %strong= @order.has_taxes_included ? t(:total_incl_tax) : t(:total_excl_tax) %td{:align => "right", :colspan => "2"} %strong= @order.has_taxes_included ? @order.display_total : @order.display_checkout_total_less_tax - @order.display_checkout_taxes_hash.each do |tax| %tr - %td{:align => "right", :colspan => "3"} + %td{:align => "right", :colspan => "5"} = t(:tax_total, rate: tax[:percentage]) %td{:align => "right", :colspan => "2"} = tax[:amount] %tr - %td{:align => "right", :colspan => "3"} + %td{:align => "right", :colspan => "5"} = @order.has_taxes_included ? t(:total_excl_tax) : t(:total_incl_tax) %td{:align => "right", :colspan => "2"} = @order.has_taxes_included ? @order.display_checkout_total_less_tax : @order.display_total