<table
    class="table table-hover table-condensed sortable"
    {# Initial sort: [(inventory.at,desc)] #}
    data-sortlist="[[0,1]]">
  <thead>
    <tr>
      <td data-sorter="shortDate">Date</td>
      <td>Stock</td>
      <td>Erreur</td>
    </tr>
  </thead>
  <tbody>
    {% for inventoryart in inventoryarts %}
    <tr>
      <td title="{{ inventoryart.inventory.at }}">
        <a href="{% url "kfet.inventory.read" inventoryart.inventory.pk %}">
          {{ inventoryart.inventory.at|date:'d/m/Y H:i' }}
        </a>
      </td>
      <td>{{ inventoryart.stock_new }}</td>
      <td>{{ inventoryart.stock_error }}</td>
    </tr>
    {% endfor %}
  </tbody>
</table>
