mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
286: Last sneaky dollar sign. Updated to use spree_number_to_currency
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user