Sha256: b3cb612f04f43ef2e6642fb7c5d87d148c5fab10f8110f2b9ddcd903f8907fec

Contents?: true

Size: 896 Bytes

Versions: 16

Compression:

Stored size: 896 Bytes

Contents

<% if @product %>
  <%= render partial: 'spree/admin/shared/product_tabs', locals: { current: 'Stock Management' } %>
  <%= render partial: 'spree/shared/error_messages', locals: { target: @product } %>
  <% admin_breadcrumb(Spree.t(:manage_stock)) %>

<% else %>

  <% admin_breadcrumb(Spree.t(:stock)) %>

<% end %>

<% content_for :table_filter_title do %>
  <%= Spree.t(:search) %>
<% end %>

<% content_for :table_filter do %>
  <% form_path = @product ? admin_product_stock_path(product: @product) : admin_stock_items_path %>
  <%= render partial: 'spree/admin/shared/variant_search', locals: { form_path: form_path, stock_locations: @stock_locations } %>
<% end %>

<% if @variants.any? %>
  <%= render partial: 'stock_management', locals: { variants: @variants } %>
<% else %>
  <div class="fullwidth no-objects-found">
    <%= Spree.t(:no_variants_found_try_again) %>
  </div>
<% end %>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
solidus_backend-2.4.2 app/views/spree/admin/stock_items/index.html.erb
solidus_backend-2.4.1 app/views/spree/admin/stock_items/index.html.erb
solidus_backend-2.3.1 app/views/spree/admin/stock_items/index.html.erb
solidus_backend-2.2.2 app/views/spree/admin/stock_items/index.html.erb
solidus_backend-2.4.0 app/views/spree/admin/stock_items/index.html.erb
solidus_backend-2.4.0.rc1 app/views/spree/admin/stock_items/index.html.erb
solidus_backend-2.4.0.beta1 app/views/spree/admin/stock_items/index.html.erb
solidus_backend-2.3.0 app/views/spree/admin/stock_items/index.html.erb
solidus_backend-2.3.0.rc3 app/views/spree/admin/stock_items/index.html.erb
solidus_backend-2.3.0.rc2 app/views/spree/admin/stock_items/index.html.erb
solidus_backend-2.3.0.rc1 app/views/spree/admin/stock_items/index.html.erb
solidus_backend-2.3.0.beta1 app/views/spree/admin/stock_items/index.html.erb
solidus_backend-2.2.1 app/views/spree/admin/stock_items/index.html.erb
solidus_backend-2.2.0 app/views/spree/admin/stock_items/index.html.erb
solidus_backend-2.2.0.rc1 app/views/spree/admin/stock_items/index.html.erb
solidus_backend-2.2.0.beta1 app/views/spree/admin/stock_items/index.html.erb