mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-30 21:27:17 +00:00
reorder the totals section
This commit is contained in:
@@ -50,9 +50,9 @@
|
||||
%tfoot
|
||||
%tr
|
||||
%td{:align => "right", :colspan => "5"}
|
||||
%strong= @order.has_taxes_included ? t(:total_incl_tax) : t(:total_excl_tax)
|
||||
%strong= t(:total_excl_tax)
|
||||
%td{:align => "right", :colspan => "2"}
|
||||
%strong= @order.has_taxes_included ? @order.display_total : @order.display_checkout_total_less_tax
|
||||
%strong= @order.display_checkout_total_less_tax
|
||||
- @order.display_checkout_taxes_hash.each do |tax|
|
||||
%tr
|
||||
%td{:align => "right", :colspan => "5"}
|
||||
@@ -61,8 +61,8 @@
|
||||
= tax[:amount]
|
||||
%tr
|
||||
%td{:align => "right", :colspan => "5"}
|
||||
= @order.has_taxes_included ? t(:total_excl_tax) : t(:total_incl_tax)
|
||||
%strong= t(:total_incl_tax)
|
||||
%td{:align => "right", :colspan => "2"}
|
||||
= @order.has_taxes_included ? @order.display_checkout_total_less_tax : @order.display_total
|
||||
%strong= @order.display_total
|
||||
%p
|
||||
|
||||
|
||||
Reference in New Issue
Block a user