{% extends "base.html" %} {% load static %} {% load i18n %} {% load l10n %} {% block head %} {% endblock %} {% block content %}
{{ location.code }}
{{ location.warehouse.name }}
{{ location.warehouse.manager }}
{{ location.description }}
| {% translate "Code" %} | {% translate "Produit" %} | {% translate "Stock" %} | {% translate "Seuil" %} | {% translate "Statut" %} |
|---|---|---|---|---|
| {{ product.code }} | {{ product.name }} | {{ product.stock }} | {{ product.threshold }} | {% if product.is_below_threshold %} {% translate "Alerte" %} {% else %} {% translate "OK" %} {% endif %} |
{% translate "Aucun produit dans cet emplacement." %}
{% endfor %}| {% translate "Date" %} | {% translate "Produit" %} | {% translate "Type" %} | {% translate "Origine" %} | {% translate "Destination" %} | {% translate "Quantité" %} | {% translate "Raison" %} |
|---|---|---|---|---|---|---|
| {{ movement.date|date:"d/m/Y H:i" }} | {{ movement.product.name }} | {% if movement.source_location and movement.destination_location %} {{ movement.movement_type }} {% elif movement.destination_location %} {{ movement.movement_type }} {% else %} {{ movement.movement_type }} {% endif %} | {% if movement.source_location %} {{ movement.source_location.warehouse.name }} - {{ movement.source_location.name }} {% else %} - {% endif %} | {% if movement.destination_location %} {{ movement.destination_location.warehouse.name }} - {{ movement.destination_location.name }} {% else %} - {% endif %} | {% if movement.source_location and movement.destination_location %} {{ movement.quantity }} {% elif movement.destination_location %} +{{ movement.quantity }} {% else %} {% if movement.quantity >= 0 %}-{% endif %}{{ movement.quantity }} {% endif %} | {{ movement.reason|default:"-" }} |
| {% translate "Aucun mouvement enregistré." %} | ||||||