Sha256: 9907c84158e7fafbcb8b8ebbcd16f1b6776da775b12121f7a6f9a9070209b0a2
Contents?: true
Size: 1.94 KB
Versions: 3
Compression:
Stored size: 1.94 KB
Contents
<%= subject_for(@order) %> <%= "#{@order.class.human_attribute_name(:code)}: #{@order.code}" %> ---------------------------------------------------------------------- <%= Comable.t('order_mailer.complete.dear', name: @order.bill_full_name) %> <%= Comable.t('order_mailer.complete.introductions', store_name: current_store.name) %> <%- @order.shipments.select(&:shipment_method).each.with_index(1) do |shipment, index| %> <%= "#{@order.class.human_attribute_name(:shipment_method)} ##{index}" %>: <%= shipment.name %> <%- end %> <%= @order.class.human_attribute_name(:ship_address) %>: <%= name_with_honorific @order.ship_full_name %> ====================================================================== <%= Comable::Order.model_name.human %> <%= "#{@order.class.human_attribute_name(:code)}: #{@order.code}" %> <%= "#{@order.class.human_attribute_name(:completed_at)}: #{I18n.l @order.completed_at.to_date}" %> <%- @order.order_items.each do |order_item| %> <%= name_with_quantity order_item.name_with_sku, order_item.quantity %> <%= number_to_currency order_item.subtotal_price %> <%- end %> ---------------------------------------------------------------------- <%= "#{@order.class.human_attribute_name(:item_total_price)}: #{number_to_currency @order.item_total_price}" %> <%= "#{@order.class.human_attribute_name(:payment_fee)}: #{number_to_currency @order.payment_fee}" %> <%= "#{@order.class.human_attribute_name(:shipment_fee)}: #{number_to_currency @order.shipment_fee}" %> <%= "#{@order.class.human_attribute_name(:total_price)}: #{number_to_currency @order.total_price}" %> <%= "#{@order.class.human_attribute_name(:payment_method)}: #{@order.payment.name}\n" if @order.payment -%> ====================================================================== <%= Comable.t('order_mailer.complete.outroductions', store_name: current_store.name) %>
Version data entries
3 entries across 3 versions & 1 rubygems