Sha256: db2936350a243b5f62deefb3d43499e5e7e2f2b11a56645fd063ed4960d244af

Contents?: true

Size: 1004 Bytes

Versions: 88

Compression:

Stored size: 1004 Bytes

Contents

<% shipment.manifest.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">
      <%= 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"><%= 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

Version Path
solidus_backend-3.3.4 app/views/spree/admin/orders/confirm/_shipment_manifest.html.erb
solidus_backend-3.2.9 app/views/spree/admin/orders/confirm/_shipment_manifest.html.erb
solidus_backend-3.2.8 app/views/spree/admin/orders/confirm/_shipment_manifest.html.erb
solidus_backend-3.3.3 app/views/spree/admin/orders/confirm/_shipment_manifest.html.erb
solidus_backend-3.2.7 app/views/spree/admin/orders/confirm/_shipment_manifest.html.erb
solidus_backend-3.3.2 app/views/spree/admin/orders/confirm/_shipment_manifest.html.erb
solidus_backend-3.3.1 app/views/spree/admin/orders/confirm/_shipment_manifest.html.erb
solidus_backend-3.2.6 app/views/spree/admin/orders/confirm/_shipment_manifest.html.erb
solidus_backend-3.1.9 app/views/spree/admin/orders/confirm/_shipment_manifest.html.erb
solidus_backend-3.3.0 app/views/spree/admin/orders/confirm/_shipment_manifest.html.erb
solidus_backend-3.2.5 app/views/spree/admin/orders/confirm/_shipment_manifest.html.erb
solidus_backend-3.2.4 app/views/spree/admin/orders/confirm/_shipment_manifest.html.erb
solidus_backend-3.2.3 app/views/spree/admin/orders/confirm/_shipment_manifest.html.erb
solidus_backend-3.1.8 app/views/spree/admin/orders/confirm/_shipment_manifest.html.erb
solidus_backend-3.0.8 app/views/spree/admin/orders/confirm/_shipment_manifest.html.erb
solidus_backend-3.2.2 app/views/spree/admin/orders/confirm/_shipment_manifest.html.erb
solidus_backend-3.2.1 app/views/spree/admin/orders/confirm/_shipment_manifest.html.erb
solidus_backend-3.2.0 app/views/spree/admin/orders/confirm/_shipment_manifest.html.erb
solidus_backend-3.2.0.alpha app/views/spree/admin/orders/confirm/_shipment_manifest.html.erb
solidus_backend-3.0.7 app/views/spree/admin/orders/confirm/_shipment_manifest.html.erb