<% carton.manifest_for_order(order).each do |item| %> <%= render 'spree/admin/shared/image', image: (item.variant.gallery.images.first || item.variant.product.gallery.images.first), size: :mini %> <%= link_to item.variant.product.name, edit_admin_product_path(item.variant.product) %>
<%= "(" + variant_options(item.variant) + ")" unless item.variant.option_values.empty? %> <% if item.variant.sku.present? %> <%= Spree::Variant.human_attribute_name(:sku) %>: <%= item.variant.sku %> <% end %> <%= item.line_item.single_money.to_html %> <% item.states.each do |state,count| %> <%= count %> x <%= t(state, scope: 'spree.inventory_states') %> <% end %> <%= item.line_item.display_amount %> <% end %>