{% import "macros/widgets.html.twig" as widgets %}
| {{ 'invoice.from'|trans }} | {% if model.query.user is not empty %} {{ widgets.username(model.query.user) }} {% else %} {{ model.template.company }} {% endif %} |
|---|---|
| {{ 'label.date'|trans }} | {{ model.invoiceDate|month_name|trans }} {{ model.invoiceDate|date('Y') }} |
| {{ 'label.customer'|trans }} | {% if model.customer.number is not empty %}[{{ model.customer.number }}]{% endif %} {{ model.customer.name }} / {{ model.customer.contact }} |
| {{ 'label.order_number'|trans }} | {{ model.query.project.orderNumber }} |
| {{ 'label.date'|trans }} | {{ 'label.activity'|trans }} | {{ 'label.hours'|trans }} |
|---|---|---|
| {{ entry.begin|date_short }} | {{ entry.activity.name }} / {{ entry.activity.project.name }} | {{ entry.duration|duration }} |
{{ 'label.payment_terms'|trans }}
{{ model.template.paymentTerms|trim|nl2br }}
{% endif %}| {{ 'invoice.signature_user'|trans }} |
|---|
| {{ 'invoice.signature_customer'|trans }} |