{{ myinvoice.header.name }}
{{ myinvoice.header.address }}
{{ myinvoice.header.city }}
{{ _('Phone')}}:{{ myinvoice.header.phone }}
{{ _('Email')}}:{{ myinvoice.header.email }}
{{ _('NIF')}}:{{ myinvoice.header.cif }}
{{ myinvoice.header.more|safe }}
{% if myinvoice.customer.cif %}{% endif %}
{{ _('Customer')}}:{{ myinvoice.customer.name }}
{{ _('CIF/NIF')}}:{{ myinvoice.customer.cif }}
{{ _('Address')}}:{{ myinvoice.customer.address }}
{{ _('Invoice number')}}:{{ myinvoice.invoice_number }}
{{ _('Date')}}:{{ myinvoice.date|date:"d/m/Y" }}
{% for l in myinvoice.line.all %} {% endfor %}
{{ _('REF') }} {{ _('CONCEPT') }} {{ _('QUANTITY') }} {{ _('UNIT PRICE') }} {{ _('AMOUNT') }}
{{ l.reference }} {{ l.concept }} {{ l.quantity }} {{ l.unit }} {{ l.unit_price|floatformat:2 }} {{ myinvoice.currency }} {{ l.amount|floatformat:2 }} {{ myinvoice.currency }}



{% if myinvoice.retentions.value != '0.00' %}{% endif %}
{{ _('Subtotal') }}{{ myinvoice.subtotal|floatformat:2 }} {{ myinvoice.currency }}
{{ _('Taxes') }} ({{ myinvoice.taxes }}){{ myinvoice.subtotal_iva|floatformat:2 }} {{ myinvoice.currency }}
{{ _('Retentions') }} ({{ myinvoice.retentions }}){{ myinvoice.subtotal_retentions|floatformat:2 }} {{ myinvoice.currency }}
{{ _('Total') }}{{ myinvoice.total|floatformat:2 }} {{ myinvoice.currency }}

{{ _('Thanks for working with us') }}