<commit_before><%= render :partial => 'spree/admin/shared/stock_sub_menu' %>

<div data-hook="admin_restocked_items_index">
  <h1><%= t(:restocked_items_list) %></h1>
</div>

<table id="restocked_items_table" class="index">
  <tr>
    <th><%= sort_link @search, :container_taxon_name, t(:container_taxon), { :default_order => "asc" }, { :title => 'admin_restocked_items_container_taxon' } %></th>
    <th><%= sort_link @search, :quantity, t(:quantity), { :default_order => "asc" }, { :title => 'admin_restocked_items_quantity' } %></th>
    <th><%= sort_link @search, :variant_sku, t(:sku), { :default_order => "asc" }, { :title => 'admin_restocked_items_sku' } %></th>
    <th><%= sort_link @search, :variant_product_name, t(:product), { :default_order => "asc" }, { :title => 'admin_restocked_items_product_name' } %></th>
	  <th><%= t(:variant)%></th>
    <th><%= sort_link @search, :variant_count_on_hand, t(:on_hand), { :default_order => "asc" }, { :title => 'admin_restocked_items_on_hand' } %></th>
    <th><%= t(:restocked_at) %></th>
    <th><%= sort_link @search, :created_at, t(:restocked_before), { :default_order => "asc" }, { :title => 'admin_restocked_items_restocked_before' } %></th>
	  <th></th>
  </tr>
  <% unless @restocked_items.nil? %>
    <% @restocked_items.each do |ri| %>
      <tr>
	      <td><%= ri.container_taxon.name %></td>
	      <td><%= ri.quantity %></td>
	      <td><%= ri.variant.sku %></td>
	      <td><%= ri.variant.product.name %></td>
	      <td><%= ri.variant.name %></td>
        <td><%= ri.variant.count_on_hand %></td>
        <td><%= ri.created_at %></td>
        <td><%= time_ago_in_words(ri.created_at) %></td>
        <td></td>
      </tr><commit_msg>Fix indentation in restocked items view<commit_after><%= render :partial => 'spree/admin/shared/stock_sub_menu' %>

<div data-hook="admin_restocked_items_index">
  <h1><%= t(:restocked_items_list) %></h1>
</div>

<table id="restocked_items_table" class="index">
  <tr>
    <th><%= sort_link @search, :container_taxon_name, t(:container_taxon), { :default_order => "asc" }, { :title => 'admin_restocked_items_container_taxon' } %></th>
    <th><%= sort_link @search, :quantity, t(:quantity), { :default_order => "asc" }, { :title => 'admin_restocked_items_quantity' } %></th>
    <th><%= sort_link @search, :variant_sku, t(:sku), { :default_order => "asc" }, { :title => 'admin_restocked_items_sku' } %></th>
    <th><%= sort_link @search, :variant_product_name, t(:product), { :default_order => "asc" }, { :title => 'admin_restocked_items_product_name' } %></th>
    <th><%= t(:variant)%></th>
    <th><%= sort_link @search, :variant_count_on_hand, t(:on_hand), { :default_order => "asc" }, { :title => 'admin_restocked_items_on_hand' } %></th>
    <th><%= t(:restocked_at) %></th>
    <th><%= sort_link @search, :created_at, t(:restocked_before), { :default_order => "asc" }, { :title => 'admin_restocked_items_restocked_before' } %></th>
    <th></th>
  </tr>
  <% unless @restocked_items.nil? %>
    <% @restocked_items.each do |ri| %>
      <tr>
        <td><%= ri.container_taxon.name %></td>
        <td><%= ri.quantity %></td>
        <td><%= ri.variant.sku %></td>
        <td><%= ri.variant.product.name %></td>
        <td><%= ri.variant.name %></td>
        <td><%= ri.variant.count_on_hand %></td>
        <td><%= ri.created_at %></td>
        <td><%= time_ago_in_words(ri.created_at) %></td>
        <td></td>
      </tr>
{'fraction_non_alphanumeric': 0.23347889374090247, 'fraction_numerical': 0.0011644832605531296, 'mean_word_length': 4.213960546282246, 'pattern_counts': {'":': 0, '<': 133, '<?xml version=': 0, '>': 159, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5006994', 'n_tokens_mistral': 1358, 'n_tokens_neox': 1325, 'n_words': 230}