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.serie_nr }} + {{css}} + {% if logo_source is not empty %} - + {% endif %}
-

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 }}

-

Company

+

{{ 'Company'|trans }}

{% 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 %}

-

Client

+

{{ 'Client'|trans }}

{% 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 %}

@@ -52,9 +53,9 @@ - - - + + + {% set nr = 0 %} {% for item in invoice.lines %} @@ -78,24 +79,24 @@ {% endif %} {% if invoice.discount|default and invoice.discount > 0 %} - + {% endif %} - +
#ProductQuantity & PriceTotal{{ '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 }}

{% if footer.display_bank_info == 1 %} - Payment details:
- {{"Account Owner"|trans}}: {{ footer.company_name }} | {{"Bank"|trans}}: {{ footer.bank_name }} | {{"BIC / SWIFT Code"|trans}}: {{ footer.bic }} | {{"Account number"|trans}}: {{ footer.account_number }}

+ {{ 'Payment details'|trans }}:
+ {{ 'Account Owner'|trans }}: {{ footer.company_name }} | {{ 'Bank'|trans }}: {{ footer.bank_name }} | {{ 'BIC / SWIFT Code'|trans }}: {{ footer.bic }} | {{ 'Account number'|trans }}: {{ footer.account_number }}

{% endif %} {{ footer.company_name }} {{ footer.address_1 }}, {{ footer.address_2 }}, {{ footer.address_3 }}
{{ 'Email'|trans }}: {{ footer.email }} | {{ 'Phone'|trans }}: {{ footer.phone }}
- {{ 'VAT ID'|trans }}: {{ footer.company_vat }} | {{ 'Company Reg. No'|trans }}: {{ footer.company_number }} | {{ 'Web'|trans }}: {{ footer.www }} + {% if footer.company_vat %}{{ 'VAT ID'|trans }}: {{ footer.company_vat }} | {% endif %} {% if footer.company_number %} {{ 'Company Registration #:'|trans }} {{ footer.company_number }} | {% endif %} {{ 'Website'|trans }}: {{ footer.www }}