14 lines
762 B
Text
14 lines
762 B
Text
{{["fid=",o._id().0]|join|coul('bleu')}} {{"À : "|coul('gras')}}{{o.proprio().prenom|join(' ')}} {{o.proprio().nom|join(' ')}} ({{o.proprio()._id().0}})
|
|
{% if o.article %}
|
|
{{"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}}
|
|
{% endfor %}
|
|
{{"total : "|coul('gras')}}{{"%05.2f" % total|sum}}€
|
|
{% endif %}
|
|
{{"Mode de Paiement : "|coul('gras')}}{{o.modePaiement|join(', ')}}
|
|
{% if o.recuPaiement %}
|
|
{{"Paiement reçu : "|coul('gras')}}{{o.recuPaiement|join(', ')}} {{"(OK)"|coul('vert')}}
|
|
{% endif %}
|
|
{% include 'object' %}
|