<%= Spree.t(:status) %>:
|
<%= Spree.t(@order.state, scope: :order_state) %>
|
<%= Spree.t(:channel) %>:
|
<%= @order.channel %> |
<%= Spree.t(:subtotal) %>:
|
<%= @order.display_item_total.to_html %>
|
<% if @order.checkout_steps.include?("delivery") && @order.ship_total > 0 %>
<%= Spree.t(:ship_total) %>:
|
<%= @order.display_ship_total.to_html %>
|
<% end %>
<% if @order.included_tax_total != 0 %>
<%= Spree.t(:tax_included) %>:
|
<%= @order.display_included_tax_total.to_html %>
|
<% end %>
<% if @order.additional_tax_total != 0 %>
<%= Spree.t(:tax) %>:
|
<%= @order.display_additional_tax_total.to_html %>
|
<% end %>
<%= Spree.t(:total) %>:
|
<%= @order.display_total.to_html %> |
<% if @order.completed? %>
<%= Spree.t(:shipment) %>:
|
<%= Spree.t(@order.shipment_state, scope: :shipment_states, default: [:missing, "none"]) %>
|
<%= Spree.t(:payment) %>:
|
<%= Spree.t(@order.payment_state, scope: :payment_states, default: [:missing, "none"]) %>
|
<%= Spree.t(:date_completed) %>:
|
<%= pretty_time(@order.completed_at) %>
|
<% end %>
<% if @order.approved? %>
<%= Spree.t(:approver) %> |
<%= @order.approver.try(:email) %> |
<%= Spree.t(:approved_at) %> |
<%= pretty_time(@order.approved_at) %> |
<% end %>
<% if @order.canceled? && @order.canceler && @order.canceled_at %>
<%= Spree.t(:canceler) %> |
<%= @order.canceler.email %> |
<%= Spree.t(:canceled_at) %> |
<%= pretty_time(@order.canceled_at) %> |
<% end %>