Sha256: cd5975e21ca0f4d72d8d32c1b37593339d37ce324428c23a42954aa969c6b5b5
Contents?: true
Size: 1.55 KB
Versions: 6
Compression:
Stored size: 1.55 KB
Contents
<%= render 'spree/admin/shared/shipping_tabs' %> <% admin_breadcrumb(t('spree.stock_movements_for_stock_location', stock_location_name: @stock_location.name)) %> <% content_for :page_actions do %> <% if can?(:display, Spree::StockLocation) %> <li> <%= link_to_with_icon 'arrow-left', t('spree.back_to_stock_locations_list'), admin_stock_locations_path, class: 'button' %> </li> <% end %> <% end %> <% if @stock_movements.any? %> <table class="index" id='listing_stock_movements'> <colgroup> <col style="width: 35%"> <col style="width: 20%"> <col style="width: 45%"> </colgroup> <thead> <tr data-hook="admin_stock_movements_index_headers"> <th><%= Spree::StockMovement.human_attribute_name(:stock_item) %> <th><%= Spree::StockMovement.human_attribute_name(:quantity) %></th> <th><%= Spree::StockMovement.human_attribute_name(:action) %></th> </tr> </thead> <tbody> <% @stock_movements.each do |stock_movement|%> <tr id="<%= spree_dom_id stock_movement %>" data-hook="admin_stock_movements_index_rows"> <td> <%= display_variant(stock_movement) %> </td> <td><%= stock_movement.quantity %></td> <td><%= pretty_originator(stock_movement) %></td> </tr> <% end %> </tbody> </table> <% else %> <div class="no-objects-found"> <%= render 'spree/admin/shared/no_objects_found', resource: Spree::StockMovement, new_resource_url: new_object_url %> </div> <% end %> <%= paginate @stock_movements, theme: "solidus_admin" %>
Version data entries
6 entries across 6 versions & 1 rubygems