mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Revert "Temporarily comment out tax column"
This reverts commit 858beb97c5.
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
= t :price
|
||||
%th.text-right
|
||||
= t :subtotal
|
||||
-#%th.text-right
|
||||
%th.text-right
|
||||
= t :included_tax
|
||||
%tbody
|
||||
- @line_items.each_pair do |variant, line_item|
|
||||
@@ -42,7 +42,7 @@
|
||||
#{line_item.single_money}
|
||||
%td.text-right
|
||||
#{line_item.display_total}
|
||||
-#%td.text-right
|
||||
%td.text-right
|
||||
#{line_item.display_included_tax_amount}
|
||||
%tr.total-row
|
||||
%td
|
||||
@@ -52,7 +52,7 @@
|
||||
%td
|
||||
%td.text-right
|
||||
#{@total}
|
||||
-#%td.text-right
|
||||
%td.text-right
|
||||
#{@tax_total}
|
||||
%p
|
||||
= t :producer_mail_text_after
|
||||
|
||||
@@ -68,6 +68,7 @@ describe ProducerMailer do
|
||||
end
|
||||
|
||||
it "includes the total" do
|
||||
puts mail.text_part.body.encoded
|
||||
mail.body.encoded.should include 'Total: $30.00'
|
||||
Capybara.string(mail.html_part.body.encoded)
|
||||
.find("tr.total-row")
|
||||
|
||||
Reference in New Issue
Block a user