286: Last sneaky dollar sign. Updated to use spree_number_to_currency

This commit is contained in:
Lynne Davis
2014-11-14 14:24:22 +00:00
parent 15f29f4c8e
commit e89184de02

View File

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