{% if myinvoice.description1 %} {% endif %} {% if myinvoice.description2 %} {% endif %}
{{ myinvoice.header.name }}
{{ myinvoice.header.address }}
{{ myinvoice.header.city }}
{{ _('Phone')}}:{{ myinvoice.header.phone }}
{{ _('Email')}}:{{ myinvoice.header.email }}
{{ _('NIF')}}:{{ myinvoice.header.cif }}
{% if myinvoice.header.budget_more %}{{ myinvoice.header.budget_more|safe }}{% else %}{{ _('Budget') }}{% endif %}
{% if myinvoice.customer.cif %}{% endif %}
{{ _('Customer')}}:{{ myinvoice.customer.name }}
{{ _('CIF/NIF')}}:{{ myinvoice.customer.cif }}
{{ _('Address')}}:{{ myinvoice.customer.address }}
{{ _('Date')}}:{{ myinvoice.date|date:"d/m/Y" }}
{{ myinvoice.description1|safe }}
{% if myinvoice.price_per_line %}{% endif %} {% for l in myinvoice.budget_line.all %} {% if myinvoice.price_per_line %}{% endif %} {% 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 }}



{{ _('Total') }} {{ myinvoice.total|safe }} {{ myinvoice.currency }}
{{ myinvoice.description2|safe }}

{{ myinvoice.header.name }}
{{ myinvoice.header.email }}
{{ myinvoice.header.address }}
{{ myinvoice.header.city }}
{{ myinvoice.header.url }}

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