<%= t('spree.status') %>:
<%= t(@order.state, scope: 'spree.order_state') %>
<% if @order.user.present? %>
<%= t('spree.user') %>:
<% end %>
<%= Spree::Order.human_attribute_name(:item_total) %>:
<%= @order.display_item_total.to_html %>
<% if checkout_steps.include?("delivery") %>
" data-hook='admin_order_tab_ship_total_title'><%= Spree::Order.human_attribute_name(:shipment_total) %>:
" id='ship_total'><%= @order.display_ship_total.to_html %>
<% end %>
" data-hook='admin_order_tab_included_tax_title'><%= Spree::Order.human_attribute_name(:included_tax_total) %>:
" id='included_tax_total'><%= @order.display_included_tax_total.to_html %>
" data-hook='admin_order_tab_additional_tax_title'><%= Spree::Order.human_attribute_name(:additional_tax_total) %>:
" id='additional_tax_total'><%= @order.display_additional_tax_total.to_html %>
<%= Spree::Order.human_attribute_name(:total) %>:
<%= @order.display_total.to_html %>
<% if @order.shipment_state %>
<%= Spree::Shipment.model_name.human %>:
<%= t(@order.shipment_state, scope: 'spree.shipment_states') %>
<% end %> <% if @order.payment_state %>
<%= Spree::Payment.model_name.human %>:
<%= t(@order.payment_state, scope: 'spree.payment_states') %>
<% end %> <% if @order.completed? %>
<%= Spree::Order.human_attribute_name(:completed_at) %>:
<%= pretty_time(@order.completed_at) %>
<% end %> <% if @order.approved? %>
<%= Spree::Order.human_attribute_name(:approver) %>
<%= @order.approver.try(:email) || @order.approver_name %>
<%= Spree::Order.human_attribute_name(:approved_at) %>
<%= pretty_time(@order.approved_at) %>
<% end %> <% if @order.canceled? && @order.canceler && @order.canceled_at %>
<%= Spree::Order.human_attribute_name(:canceler) %>
<%= @order.canceler.email %>
<%= Spree::Order.human_attribute_name(:canceled_at) %>
<%= pretty_time(@order.canceled_at) %>
<% end %>