From e89184de02540e2b0b1dba7b804df8db082c99fb Mon Sep 17 00:00:00 2001 From: Lynne Davis Date: Fri, 14 Nov 2014 14:24:22 +0000 Subject: [PATCH] 286: Last sneaky dollar sign. Updated to use spree_number_to_currency --- app/views/spree/order_mailer/confirm_email.text.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/spree/order_mailer/confirm_email.text.haml b/app/views/spree/order_mailer/confirm_email.text.haml index c9ad50fb63..719201b6ae 100644 --- a/app/views/spree/order_mailer/confirm_email.text.haml +++ b/app/views/spree/order_mailer/confirm_email.text.haml @@ -9,7 +9,7 @@ Order for: #{@order.bill_address.full_name} - @order.line_items.each do |item| #{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} ============================================================ -Subtotal: #{number_to_currency checkout_cart_total_with_adjustments(@order)} +Subtotal: #{spree_number_to_currency checkout_cart_total_with_adjustments(@order)} - checkout_adjustments_for_summary(@order, exclude: [:distribution]).each do |adjustment| #{raw(adjustment.label)} #{adjustment.display_amount} Order Total: #{@order.display_total}