{% extends 'base.html' %} {% block title %}Commandes{% endblock %} {% block content %}
| Date | Nom | Client | Matiere | Poids | Duree | Prix HT | Prix final | |
|---|---|---|---|---|---|---|---|---|
| {{ j.created_at[:10] }} |
{{ j.name }}
{% if j.plate_name %} {{ j.plate_name }}{% endif %} |
{{ j.client_name or '--' }} | {% if j.material_name %}{{ j.material_name }}{% else %}--{% endif %} |
{{ j.weight_g }} g
{% if pieces > 1 %}
{{ '%.1f'|format(poids_piece) }} g/pce x{{ pieces }} {% else %} {{ '%.1f'|format(poids_piece) }} g/pce {% endif %} |
{{ j.print_time_s | fmt_time }} |
{% if prix_ht > 0 %}
{{ '%.2f'|format(prix_ht) }} € /pce
{% if qty > 1 %}
{{ '%.2f'|format(prix_ht * qty) }} € x{{ qty }} {% endif %} {% else %}--{% endif %} |
{{ '%.2f'|format(j.final_price or 0) }} €
{% if j.discount_pct and j.discount_pct > 0 %}
-{{ j.discount_pct }}%
{% endif %}
{% if qty > 1 %}
{{ '%.2f'|format((j.final_price or 0) * qty) }} € tot. {% endif %} |
{% if j.client_token %}
{% endif %}
→
|
Aucune commande ne correspond aux filtres.
Aucune commande enregistree.
Creer le premier calcul