<tr>
  <td><%= key += 1 %></td>
  <td><%= available.product.full_display %></td>
  <td><%= number_to_currency(available.product.price_base, precision: 2) %></td>
  <td><%= available.product.category.parent_id.zero? ? available.product.category.category : available.product.category.parent.category %></td>
  <td><%= available.product.category.category %></td>
  <td class="success"><%= quantity = calculate_restock(available) %></td>
  <td><%= number_to_currency((quantity * available.product.price_base), precision: 2) %></td>
</tr>
