<%= form.fields_for :shipments do |ship_form| %>
<%= t('spree.package_from') %>
<%= ship_form.object.stock_location.name %>
|
<%= t('spree.item') %> |
<%= t('spree.qty') %> |
<%= t('spree.price') %> |
<% ship_form.object.manifest.each do |item| %>
<%= render 'spree/shared/image',
image: (item.variant.gallery.images.first || item.variant.product.gallery.images.first),
size: :mini %>
|
<%= item.variant.name %> |
<%= item.quantity %> |
<%= display_price(item.variant) %> |
<% end %>
<%= t('spree.shipping_method') %>
<% ship_form.object.shipping_rates.each do |rate| %>
-
<% end %>
<% end %>
<% if @differentiator.try(:missing?) %>
<%= t('spree.unshippable_items') %>
|
<%= t('spree.item') %> |
<%= t('spree.qty') %> |
<%= t('spree.price') %> |
<% @differentiator.missing.each do |variant, quantity| %>
<%= render 'spree/shared/image',
image: (variant.gallery.images.first || variant.product.gallery.images.first),
size: :mini %>
|
<%= variant.name %> |
<%= quantity %> |
<%= display_price(variant) %> |
<% end %>
<% end %>
<% if Spree::Config[:shipping_instructions] %>
<%= form.label :special_instructions, t('spree.shipping_instructions') %>
<%= form.text_area :special_instructions, cols: 40, rows: 7 %>
<% end %>