fix bug in mailer

This commit is contained in:
Rafael Schouten
2014-09-10 19:59:39 +10:00
parent 666036756e
commit c1971d015c

View File

@@ -10,7 +10,7 @@ Order for: <%= @order.bill_address.full_name %>
<%= item.variant.sku %> <%= raw(item.variant.product.supplier.name) %> <%= raw(item.variant.product.name) %> <%= raw(item.variant.options_text) -%> (QTY: <%=item.quantity%>) @ <%= item.single_money %> = <%= item.display_amount %>
<% end %>
============================================================
Subtotal: <%= Spree::Money.new(checkout_cart_total_with _adjustments ( @order)) %>
Subtotal: <%= Spree::Money.new(checkout_cart_total_with _adjustments(@order)).to_str %>
<% checkout_adjustments_for_summary(@order, exclude: [:distribution]).each do |adjustment| %>
<%= raw(adjustment.label) %> <%= adjustment.display_amount %>
<% end %>