Sha256: 6f24bb7231616f52a56e3ca51ecce3db6174e31997555ee46f6e08de781b3432

Contents?: true

Size: 1012 Bytes

Versions: 13

Compression:

Stored size: 1012 Bytes

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.display_image, 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

13 entries across 13 versions & 1 rubygems

Version Path
solidus_backend-2.6.6 app/views/spree/admin/orders/_carton_manifest.html.erb
solidus_backend-2.7.4 app/views/spree/admin/orders/_carton_manifest.html.erb
solidus_backend-2.7.3 app/views/spree/admin/orders/_carton_manifest.html.erb
solidus_backend-2.6.5 app/views/spree/admin/orders/_carton_manifest.html.erb
solidus_backend-2.7.2 app/views/spree/admin/orders/_carton_manifest.html.erb
solidus_backend-2.6.4 app/views/spree/admin/orders/_carton_manifest.html.erb
solidus_backend-2.6.3 app/views/spree/admin/orders/_carton_manifest.html.erb
solidus_backend-2.7.1 app/views/spree/admin/orders/_carton_manifest.html.erb
solidus_backend-2.6.2 app/views/spree/admin/orders/_carton_manifest.html.erb
solidus_backend-2.7.0 app/views/spree/admin/orders/_carton_manifest.html.erb
solidus_backend-2.6.1 app/views/spree/admin/orders/_carton_manifest.html.erb
solidus_backend-2.6.0 app/views/spree/admin/orders/_carton_manifest.html.erb
solidus_backend-2.6.0.rc1 app/views/spree/admin/orders/_carton_manifest.html.erb