Temporarily comment out tax column

This commit is contained in:
Steve Pettitt
2016-05-18 08:49:05 +01:00
parent c66ac0827e
commit 858beb97c5
2 changed files with 3 additions and 4 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,7 +68,6 @@ 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")