|
{{ invoice['customer.company']|default(invoice['customer.name']) }} {{ invoice['customer.address']|nl2br }} {% set country = invoice['customer.country']|country_name(invoice['invoice.language']) %} {% if country not in invoice['customer.address'] %} {{ country }} {% endif %} {% if invoice['customer.vat_id'] is not empty %} {{ 'vat_id'|trans }}: {{ invoice['customer.vat_id'] }} {% endif %} |
{% set classLeft = 'text-left' %}
{% set classRight = 'text-right text-nowrap padding-left' %}
|
| {{ 'description'|trans }} | {{ 'unit_price'|trans }} | {{ 'amount'|trans }} | {{ 'total_rate'|trans }} |
|---|---|---|---|
| {% if invoiceLineItem['entry.description'] is not empty %} {{ invoiceLineItem['entry.description']|nl2br }} {% else %} {% if invoiceLineItem['entry.activity'] is defined %} {{ invoiceLineItem['entry.activity'] }} / {% endif %} {{ invoiceLineItem['entry.project'] }} {% endif %} | {{ invoiceLineItem['entry.rate'] }} | {{ invoiceLineItem['entry.amount'] }} | {{ invoiceLineItem['entry.total'] }} |
| {{ 'invoice.subtotal'|trans }} | {{ invoice['invoice.subtotal'] }} | ||
| {{ taxRow['name']|trans }} ({{ taxRow['rate'] }}%) {% if taxRow['note'] is not null %} [{{ taxRow['counter'] }}] {% endif %} | {{ taxRow['amount']|money(taxRow['currency']) }} | ||
| {{ 'invoice.total'|trans }} | {{ invoice['invoice.total'] }} | ||
[{{ taxRow['counter'] }}] {{ taxRow['note']|trans }}
{% endif %} {% endfor %} {% if invoice['template.payment_terms'] is not empty %} {{ invoice['template.payment_terms']|md2html }} {% endif %}