{% extends "base.html.twig" %} {% block localstyle %} td { padding:5px !important; } {% if fgprint is defined and fgprint %} table { font-size:10px;} th,td { border: 1px solid #37474F; } thead { display: table-header-group; } tr { page-break-inside: avoid; } {%endif%} {% endblock %} {% block body %}
Liste des dernières commandes/propal récupérées depuis Dolibarr.
Les commandes doivent avoir un statut "Validée", et le Propal un statut "Signée" pour apparaître dans la liste.
Action | client | ref | ref_client | statut | total_ht | total_tva | total_ttc | |
---|---|---|---|---|---|---|---|---|
{{order.customer_name}} | {% if order.type =="commande" %}{{order.ref}} | {% endif %} {% if order.type =="propal" %}{{order.ref}} | {% endif %}{{order.ref_client}} | {{order.statut}} | {{order.total_ht|number_format(2, '.', ' ')}} | {{order.total_tva|number_format(2, '.', ' ')}} | {{order.total_ttc|number_format(2, '.', ' ')}} |