Sha256: ec7f33987403b810ba3f4cf0a361678afe1b0ef87c76a031c78f0f0a0c666549
Contents?: true
Size: 1.29 KB
Versions: 32
Compression:
Stored size: 1.29 KB
Contents
<% line_items.each do |item| %> <%= item.variant.sku %> <%= raw(item.variant.product.name) %> <%= raw(item.variant.options_text) -%> (<%=item.quantity%>) <%= Spree.t('at_symbol') %> <%= item.single_money %> = <%= item.display_amount %> <% end %> ============================================================ <%= Spree.t('order_mailer.subtotal') %> <%= order.display_item_total %> <% if order.line_item_adjustments.exists? %> <% if order.all_adjustments.promotion.eligible.exists? %> <% order.all_adjustments.promotion.eligible.group_by(&:label).each do |label, adjustments| %> <%= Spree.t(:promotion) %>: <%= label %> <%= Spree::Money.new(adjustments.sum(&:amount), currency: order.currency) %> <% end %> <% end %> <% end %> <% order.shipments.group_by { |s| s.selected_shipping_rate.try(:name) }.each do |name, shipments| %> <%= Spree.t(:shipping) %>: <%= name %> <%= Spree::Money.new(shipments.sum(&:discounted_cost), currency: order.currency) %> <% end %> <% if order.additional_tax_total != 0 %> <%= Spree.t(:tax) %>: <%= order.display_additional_tax_total.to_html %> <% end %> <% order.adjustments.eligible.each do |adjustment| %> <% next if (adjustment.source_type == 'Spree::TaxRate') and (adjustment.amount == 0) %> <%= adjustment.label %> <%= adjustment.display_amount %> <% end %>
Version data entries
32 entries across 32 versions & 2 rubygems