Sha256: 1953a4b412e3f0cf1220c2e7a57482c2e702c30b03908cbe93bb92e3dd1255cc
Contents?: true
Size: 1.06 KB
Versions: 88
Compression:
Stored size: 1.06 KB
Contents
<% carton.manifest_for_order(order).each do |item| %> <tr class="stock-item" data-item-quantity="<%= item.quantity %>"> <td class="item-image"> <%= render 'spree/admin/shared/image', image: (item.variant.gallery.images.first || item.variant.product.gallery.images.first), size: :mini %> </td> <td class="item-name"> <%= link_to item.variant.product.name, edit_admin_product_path(item.variant.product) %><br><%= "(" + variant_options(item.variant) + ")" unless item.variant.option_values.empty? %> <% if item.variant.sku.present? %> <strong><%= Spree::Variant.human_attribute_name(:sku) %>:</strong> <%= item.variant.sku %> <% end %> </td> <td class="item-price"><%= item.line_item.single_money.to_html %></td> <td class="item-qty-show"> <% item.states.each do |state,count| %> <%= count %> x <%= t(state, scope: 'spree.inventory_states') %> <% end %> </td> <td class="item-total"><%= line_item_shipment_price(item.line_item, item.quantity) %></td> </tr> <% end %>
Version data entries
88 entries across 88 versions & 2 rubygems