{% extends 'mobile/mobile_base.html' %} {% load static %} {% load i18n %} {% block title %}{% translate "Inventaires" %}{% endblock title %} {% block upleft %} {% endblock upleft %} {% block extra_head %} {% endblock extra_head %} {% block content %}
{% translate "Nouvel inventaire" %}
{% if inventories %} {% for inventory in inventories %}
{% translate "Inventaire" %} #{{ inventory.id }}
{% if inventory.status == 'draft' %} {% translate "Brouillon" %} {% elif inventory.status == 'in_progress' %} {% translate "En cours" %} {% elif inventory.status == 'done' %} {% translate "Terminé" %} {% elif inventory.status == 'validated' %} {% translate "Validé" %} {% else %} {{ inventory.get_status_display }} {% endif %}
{{ inventory.warehouse_location.warehouse.name }} — {{ inventory.warehouse_location.name }}
{{ inventory.created_at|date:"d/m/Y" }} {% if inventory.performed_by %} {{ inventory.performed_by }} {% endif %}
{% endfor %} {% else %}
{% translate "Aucun inventaire trouvé." %}
{% endif %} {% endblock content %}