Sha256: 91baa0319c352175931a4f907b1166a248a6980c92d5fd4eae0e4d2181a756d1

Contents?: true

Size: 900 Bytes

Versions: 125

Compression:

Stored size: 900 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(t('spree.manage_stock')) %>

<% else %>

  <% admin_breadcrumb(t('spree.stock')) %>

<% end %>

<% content_for :table_filter_title do %>
  <%= t('spree.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">
    <%= t('spree.no_variants_found_try_again') %>
  </div>
<% end %>

Version data entries

125 entries across 125 versions & 2 rubygems

Version Path
solidus_backend-2.6.3 app/views/spree/admin/stock_items/index.html.erb
solidus_backend-2.8.0 app/views/spree/admin/stock_items/index.html.erb
solidus_backend-2.7.1 app/views/spree/admin/stock_items/index.html.erb
solidus_backend-2.6.2 app/views/spree/admin/stock_items/index.html.erb
solidus_backend_devise_token_auth-2.8.0.alpha.14 app/views/spree/admin/stock_items/index.html.erb
solidus_backend_devise_token_auth-2.8.0.alpha.13 app/views/spree/admin/stock_items/index.html.erb
solidus_backend_devise_token_auth-2.8.0.alpha.12 app/views/spree/admin/stock_items/index.html.erb
solidus_backend_devise_token_auth-2.8.0.alpha.11 app/views/spree/admin/stock_items/index.html.erb
solidus_backend_devise_token_auth-2.8.0.alpha.10 app/views/spree/admin/stock_items/index.html.erb
solidus_backend_devise_token_auth-2.8.0.alpha.9 app/views/spree/admin/stock_items/index.html.erb
solidus_backend_devise_token_auth-2.8.0.alpha.8 app/views/spree/admin/stock_items/index.html.erb
solidus_backend_devise_token_auth-2.8.0.alpha.7 app/views/spree/admin/stock_items/index.html.erb
solidus_backend_devise_token_auth-2.8.0.alpha.6 app/views/spree/admin/stock_items/index.html.erb
solidus_backend_devise_token_auth-2.8.0.alpha.5 app/views/spree/admin/stock_items/index.html.erb
solidus_backend_devise_token_auth-2.8.0.alpha.4 app/views/spree/admin/stock_items/index.html.erb
solidus_backend_devise_token_auth-2.8.0.alpha.3 app/views/spree/admin/stock_items/index.html.erb
solidus_backend_devise_token_auth-2.8.0.alpha.2 app/views/spree/admin/stock_items/index.html.erb
solidus_backend-2.7.0 app/views/spree/admin/stock_items/index.html.erb
solidus_backend-2.6.1 app/views/spree/admin/stock_items/index.html.erb
solidus_backend-2.6.0 app/views/spree/admin/stock_items/index.html.erb