diff --git a/src/modules/Invoice/pdf_template/default-pdf.twig b/src/modules/Invoice/pdf_template/default-pdf.twig index 4a991d617..60dcb00ff 100644 --- a/src/modules/Invoice/pdf_template/default-pdf.twig +++ b/src/modules/Invoice/pdf_template/default-pdf.twig @@ -10,40 +10,41 @@
Invoice number: {{ invoice.serie_nr }}
-Invoice date: {{ invoice.created_at|format_date }}
-Due date: {{ invoice.due_at|format_date }}
-Invoice status: {{ invoice.status|capitalize }}
+{{ 'Invoice number]'|trans }}: {{ invoice.serie_nr }}
+{{ 'Invoice date'|trans }}: {{ invoice.created_at|format_date }}
+{{ 'Due date'|trans }}: {{ invoice.due_at|format_date }}
+{{ 'Invoice status'|trans }}: {{ invoice.status|capitalize }}
{% for key, value in seller %}
- {% if key == 'Name'%}{% endif %}
- {% if key == 'Phone'%} {{ "Tel"|trans}} :{% endif %}
+ {% if key == 'Name' %}{% endif %}
+ {% if key == 'Phone' %} {{ 'Phone'|trans }} :{% endif %}
{{ value }}
- {% if key == 'Name'%}{% endif %}
+ {% if key == 'Name' %}{% endif %}
{% endfor %}
{% for key, value in buyer %}
- {% if key == 'Company'%}{% endif %}
- {% if key == 'Phone'%} {{ "Tel"|trans}} :{% endif %}
+ {% if key == 'Company' %}{% endif %}
+ {% if key == 'Phone '%} {{ 'Phone'|trans }} :{% endif %}
{{ value }}
- {% if key == 'Company'%}{% endif %}
+ {% if key == 'Company' %}{% endif %}
{% endfor %}
| # | -Product | -Quantity & Price | -Total | +{{ 'Product'|trans }} | +{{ 'Quantity & Price'|trans }} | +{{ 'Total'|trans }} |
|---|---|---|---|---|---|---|
| Discount: | +{{ 'Discount'|trans }}: | {{ invoice.discount|money_convert }} | ||||
| Total: | +{{ 'Total'|trans }}: | {{ invoice.total|money_convert }} | ||||
{{ footer.signature is defined ? footer.signature : "FOSSBilling.org - Client Management, Invoice and Support Software" }}
+{{ footer.signature }}