% manifest_items = Spree::ShippingManifest.new(inventory_units: shipment.inventory_units.where(carton_id: nil)).items %> <% unless manifest_items.empty? %>
<%= Spree.t(:item_description) %> | <%= Spree.t(:price) %> | <%= Spree.t(:quantity) %> | <%= Spree.t(:total) %> | <%= render 'spree/admin/orders/shipment_manifest', { shipment_number: shipment.number, shipment_manifest: manifest_items } %> <% unless shipment.shipped? %> <% end %> | ||||||
---|---|---|---|---|---|---|---|---|---|---|
<%= rate.name %> | <%= shipment.display_cost %> | <% else %><%= Spree.t(:no_shipping_method_selected) %> | <% end %><% if( (can? :update, shipment) and !shipment.shipped?) %> <%= link_to '', '#', :class => 'edit-method fa fa-edit no-text with-tip', :data => {:action => 'edit'}, :title => Spree.t('edit') %> <% end %> | |||||||
<%= Spree.t(:special_instructions) %>: <%= order.special_instructions %> | ||||||||||
<% if shipment.tracking.present? %> <%= Spree.t(:tracking) %>: <%= shipment.tracking %> <% else %> <%= Spree.t(:no_tracking_present) %> <% end %> | <% if can? :update, shipment %> <%= link_to '', '#', :class => 'edit-tracking fa fa-edit no-text with-tip', :data => {:action => 'edit'}, :title => Spree.t('edit') %> <% end %> |