Sha256: afd37d23fa181e74ade30aee85c957ccf14e17f98516721e2122207f70889e94
Contents?: true
Size: 1.47 KB
Versions: 15
Compression:
Stored size: 1.47 KB
Contents
<% shipment_manifest.each do |item| %> <tr class="stock-item" data-item-quantity="<%= item.quantity %>" data-variant-id="<%= item.variant.id %>" > <td class="item-image"> <%= image_tag item.variant.display_image.attachment(:mini) %> </td> <td class="item-name"> <%= item.variant.product.name %><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 align-center"><%= item.line_item.single_money.to_html %></td> <td class="item-qty-show align-center"> <% item.states.each do |state,count| %> <%= count %> x <%= Spree.t(state, scope: 'inventory_states') %> <% end %> </td> <td class="item-total align-center"><%= line_item_shipment_price(item.line_item, item.quantity) %></td> <td class="cart-item-delete actions" data-hook="cart_item_delete"> <% if can? :update, item %> <%= link_to '', '#', :class => 'split-item icon_link fa fa-arrows-h no-text with-tip', :data => {:action => 'split', 'variant-id' => item.variant.id}, :title => Spree.t('actions.split') %> <%= link_to '', '#', :class => 'delete-item fa fa-trash no-text with-tip', :data => { 'variant-id' => item.variant.id}, :title => Spree.t('actions.delete') %> <% end %> </td> </tr> <% end %>
Version data entries
15 entries across 15 versions & 1 rubygems