<%= render 'spree/admin/orders/carton_manifest', carton: carton, order: order %>
<% if method = carton.shipping_method %>
<%= method.name %>
|
<% else %>
<%= Spree.t(:no_shipping_method_selected) %> |
<% end %>
<% if order.special_instructions.present? %>
<%= Spree::Order.human_attribute_name(:special_instructions) %>: <%= order.special_instructions %>
|
<% end %>
<% if carton.tracking.present? %>
<%= Spree::Carton.human_attribute_name(:tracking) %>: <%= carton.tracking %>
<% else %>
<%= Spree.t(:no_tracking_present) %>
<% end %>
|
<%= Spree.t(:shipment_numbers) %>: <%= carton.shipment_numbers.join(", ") %>
|
<%= Spree.t(:shipment_date) %>: <%= carton.display_shipped_at %>
|
<% if carton.orders.size > 1 %>
<%= Spree.t(:carton_orders) %>:
<% (carton.orders - [order]).each do |order| %>
<%= link_to order.number, edit_admin_order_path(order) %>
<% end %>
|
<% end %>
<% if carton.external_number.present? %>
<%= Spree.t(:carton_external_number) %>: <%= carton.external_number %>
|
<% end %>