{{ tenant.nume }}
{% if tenant.cui %}CUI: {{ tenant.cui }}
{% endif %} {% if tenant.adresa %}{{ tenant.adresa }}
{% endif %} {% if tenant.telefon %}Tel: {{ tenant.telefon }}{% endif %}

DEVIZ Nr. {{ order.nr_comanda or order.id[:8]|upper }}

Data: {{ order.data_comanda }}
Auto: {{ order.nr_auto }}
{{ order.marca_denumire or '' }} {{ order.model_denumire or '' }}
Client: {{ order.client_nume or '' }}
{% if manopera %}

Operatii manopera

{% for l in manopera %} {% endfor %}
DescriereOrePret/ora (RON)Total (RON)
{{ l.descriere }}{{ l.ore }} {{ "%.2f"|format(l.pret_ora or 0) }} {{ "%.2f"|format(l.total or 0) }}
{% endif %} {% if materiale %}

Materiale

{% for l in materiale %} {% endfor %}
DescriereUMCant.Pret unit. (RON)Total (RON)
{{ l.descriere }}{{ l.um }}{{ l.cantitate }} {{ "%.2f"|format(l.pret_unitar or 0) }} {{ "%.2f"|format(l.total or 0) }}
{% endif %}
Manopera: {{ "%.2f"|format(order.total_manopera or 0) }} RON
Materiale: {{ "%.2f"|format(order.total_materiale or 0) }} RON
TOTAL: {{ "%.2f"|format(order.total_general or 0) }} RON