<%= form.fields_for :shipments do |ship_form| %>
<%= Spree.t(:package_from) %>
<%= ship_form.object.stock_location.name %>
|
<%= Spree.t(:item) %> |
<%= Spree.t(:qty) %> |
<%= Spree.t(:price) %> |
<% ship_form.object.manifest.each do |item| %>
<%= image_tag item.variant.display_image.attachment(:mini) %> |
<%= item.variant.name %> |
<%= item.quantity %> |
<%= display_price(item.variant) %> |
<% end %>
<%= Spree.t(:shipping_method) %>
<% ship_form.object.shipping_rates.each do |rate| %>
-
<% end %>
<% end %>
<% if @differentiator.try(:missing?) %>
<%= Spree.t(:unshippable_items) %>
|
<%= Spree.t(:item) %> |
<%= Spree.t(:qty) %> |
<%= Spree.t(:price) %> |
<% @differentiator.missing.each do |variant, quantity| %>
<%= image_tag variant.display_image.attachment(:mini) %> |
<%= variant.name %> |
<%= quantity %> |
<%= display_price(variant) %> |
<% end %>
<% end %>
<% if Spree::Config[:shipping_instructions] %>
<%= form.label :special_instructions, Spree.t(:shipping_instructions) %>
<%= form.text_area :special_instructions, :cols => 40, :rows => 7 %>
<% end %>