From c1971d015ce72219740a7e80b2afc7aaf0c234e8 Mon Sep 17 00:00:00 2001 From: Rafael Schouten Date: Wed, 10 Sep 2014 19:59:39 +1000 Subject: [PATCH] fix bug in mailer --- app/views/spree/order_mailer/confirm_email.text.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/spree/order_mailer/confirm_email.text.erb b/app/views/spree/order_mailer/confirm_email.text.erb index 3437b11efb..80e08eca52 100644 --- a/app/views/spree/order_mailer/confirm_email.text.erb +++ b/app/views/spree/order_mailer/confirm_email.text.erb @@ -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 %>