Sha256: 3d51f199752531abc5976b921fde37d3734745a3878f1d0d0981e95c010bee6b

Contents?: true

Size: 946 Bytes

Versions: 21

Compression:

Stored size: 946 Bytes

Contents

<% shipment.manifest.each do |item| %>
  <tr class="stock-item" data-item-quantity="<%= item.quantity %>">
    <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>
  </tr>
<% end %>

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
solidus_backend-2.1.1 app/views/spree/admin/orders/confirm/_shipment_manifest.html.erb
solidus_backend-2.0.3 app/views/spree/admin/orders/confirm/_shipment_manifest.html.erb
solidus_backend-1.4.2 app/views/spree/admin/orders/confirm/_shipment_manifest.html.erb
solidus_backend-1.3.2 app/views/spree/admin/orders/confirm/_shipment_manifest.html.erb
solidus_backend-2.0.2 app/views/spree/admin/orders/confirm/_shipment_manifest.html.erb
solidus_backend-1.4.1 app/views/spree/admin/orders/confirm/_shipment_manifest.html.erb
solidus_backend-2.1.0 app/views/spree/admin/orders/confirm/_shipment_manifest.html.erb
solidus_backend-2.1.0.rc1 app/views/spree/admin/orders/confirm/_shipment_manifest.html.erb
solidus_backend-2.0.1 app/views/spree/admin/orders/confirm/_shipment_manifest.html.erb
solidus_backend-2.1.0.beta1 app/views/spree/admin/orders/confirm/_shipment_manifest.html.erb
solidus_backend-2.0.0 app/views/spree/admin/orders/confirm/_shipment_manifest.html.erb
solidus_backend-1.4.0 app/views/spree/admin/orders/confirm/_shipment_manifest.html.erb
solidus_backend-2.0.0.rc1 app/views/spree/admin/orders/confirm/_shipment_manifest.html.erb
solidus_backend-1.4.0.rc1 app/views/spree/admin/orders/confirm/_shipment_manifest.html.erb
solidus_backend-2.0.0.beta1 app/views/spree/admin/orders/confirm/_shipment_manifest.html.erb
solidus_backend-1.4.0.beta1 app/views/spree/admin/orders/confirm/_shipment_manifest.html.erb
solidus_backend-1.3.1 app/views/spree/admin/orders/confirm/_shipment_manifest.html.erb
solidus_backend-1.3.0 app/views/spree/admin/orders/confirm/_shipment_manifest.html.erb
solidus_backend-1.3.0.rc2 app/views/spree/admin/orders/confirm/_shipment_manifest.html.erb
solidus_backend-1.3.0.rc1 app/views/spree/admin/orders/confirm/_shipment_manifest.html.erb