Revert "Temporarily comment out tax column"

This reverts commit 858beb97c5.
This commit is contained in:
Rob Harrington
2016-05-20 09:42:19 +10:00
parent 858beb97c5
commit d043de08cd
2 changed files with 4 additions and 3 deletions

View File

@@ -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

View File

@@ -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")