{% with total=stats_cmd_line.nb_total %} {% widthratio stats_cmd_line.nb_payees total 100 as pct_payees %} {% widthratio stats_cmd_line.nb_en_attente total 100 as pct_attente %} {% widthratio stats_cmd_line.nb_validees total 100 as pct_validees %} {% widthratio stats_cmd_line.nb_a_livrer total 100 as pct_livrer %} {% widthratio stats_cmd_line.nb_livrees total 100 as pct_livrees %} {% widthratio stats_cmd_line.nb_annulees total 100 as pct_annulees %}

Total commandes

{% if total %}{{ total }}{% endif %}
{{ total }}
Période filtrée

Montant payé

{% if total %}{{ pct_payees|default:0 }}%{% endif %}
{{ stats_cmd_line.montant_paye|floatformat:0 }} F
{{ stats_cmd_line.nb_payees }} payée{{ stats_cmd_line.nb_payees|pluralize }}

En attente

{% if total %}{{ pct_attente|default:0 }}%{% endif %}
{{ stats_cmd_line.nb_en_attente }}
À traiter

Validées

{% if total %}{{ pct_validees|default:0 }}%{% endif %}
{{ stats_cmd_line.nb_validees }}
Statut validé

À livrer

{% if total %}{{ pct_livrer|default:0 }}%{% endif %}
{{ stats_cmd_line.nb_a_livrer }}
En attente de livraison

Livrées

{% if total %}{{ pct_livrees|default:0 }}%{% endif %}
{{ stats_cmd_line.nb_livrees }}
Terminées

Annulées

{% if total %}{{ pct_annulees|default:0 }}%{% endif %}
{{ stats_cmd_line.nb_annulees }}
Client / magasin

Commandes payées

{% if total %}{{ pct_payees|default:0 }}%{% endif %}
{{ stats_cmd_line.nb_payees }}
Encaissées
{% endwith %}