<% @order.line_items.each do |item| %> <% end %> <% @order.adjustments.eligible.each do |adjustment| %> <% next if (adjustment.originator_type == 'Spree::TaxRate') and (adjustment.amount == 0) %> <% end %> <% if order.price_adjustment_totals.present? %> <% @order.price_adjustment_totals.keys.each do |key| %> <% end %> <% end %>
<%= t(:item_description) %> <%= t(:price) %> <%= t(:qty) %> <%= t(:total) %>
<%= item.variant.product.name %> <%= "(" + variant_options(item.variant) + ")" unless item.variant .option_values.empty? %> <%= number_to_currency item.price %> <%= item.quantity %> <%= number_to_currency (item.price * item.quantity) %>
<%= t(:subtotal) %>: <%= number_to_currency @order.item_total %>
<%= adjustment.label %> <%= number_to_currency adjustment.amount %>
<%= t(:order_total) %>: <%= number_to_currency @order.total %>
<%= key %> <%= number_to_currency @order.price_adjustment_totals[key] %>