{% extends "base.html" %} {% block title %}{{ consumable.name }} — GMAO{% endblock %} {% block content %}
Référence : {{ consumable.reference or '—' }} · Type : {{ consumable.consumable_type }} · Stock : {{ consumable.quantity }} · Minimum : {{ consumable.min_quantity }} · Cible : {{ consumable.target_quantity or '—' }} · À commander : {{ consumable.quantity_to_order }}
Commandé / à recevoir : {{ quantity_on_order }}
Couverture estimée : {% if coverage.coverage_days is not none %}~{{ '%.0f'|format(coverage.coverage_days) }} jours{% else %}indisponible{% endif %} — {{ coverage.quality }} ({{ coverage.machines_with_history }}/{{ coverage.machines_total }} machines avec historique)
| Quantité | Reçue | À recevoir | État | Action |
|---|---|---|---|---|
| {{ order.quantity_ordered }} | {{ order.quantity_received }} | {{ order.remaining_quantity }} | {{ order.status }} | {% if order.remaining_quantity and order.status in ('ORDERED','PARTIALLY_RECEIVED') %}{% endif %} |
| Aucune commande. | ||||