diff --git a/src/schedule-2.0/templates/Offer/getorders.html.twig b/src/schedule-2.0/templates/Offer/getorders.html.twig new file mode 100644 index 0000000..9a9529d --- /dev/null +++ b/src/schedule-2.0/templates/Offer/getorders.html.twig @@ -0,0 +1,74 @@ +{% 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 %} +
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, '.', ' ')}} | +