diff --git a/printing/templates/facture b/printing/templates/facture index 37d21b7..d5dc21d 100644 --- a/printing/templates/facture +++ b/printing/templates/facture @@ -3,7 +3,7 @@ {{"Article : "|coul('gras')}} Prix N° Total Commentaire {% set total = [] %}{% for a in o.article %} {% do total.append( a.pu|float * a.nombre|int) %} - {{"%05.2f" % a.pu|float}}€ x{{"%02d" % a.nombre|int}} {{"%05.2f" % a.pu|float * a.nombre|int}}€ {{a.designation}} + {{"%05.2f" % a.pu|float}}€ x{{"%02d" % a.nombre|int}} {{"%05.2f" % (a.pu|float * a.nombre|int)}}€ {{a.designation}} {% endfor %} {{"total : "|coul('gras')}}{{"%05.2f" % total|sum}}€ {% endif %}