{{ 'tax.header.table'|trans({}, 'DocumentTrans' ) }}
|
{{ 'tax.header.base'|trans({}, 'DocumentTrans' ) }}
|
{{ 'tax.header.amount'|trans({}, 'DocumentTrans' ) }}
|
{% set taxTabList = sellingTaxData.groupByTaxName %}
{% set sumTax = 0 %}
{% for key, taxTab in taxTabList %}
{% set sumTax = sumTax + taxTab.taxValue %}
{{ key|trans({}, 'DocumentTrans') }}
|
{{ taxTab.priceWithoutTax|number_format(2, ',', ' ') }} {{ currencySymbol }}
|
{{ taxTab.taxValue|number_format(2, ',', ' ') }} {{ currencySymbol }}
|
{% endfor %}
{{ 'tax.total'|trans({}, 'DocumentTrans' ) }}
|
{{ sumTax|number_format(2, ',', ' ') }} {{ currencySymbol }}
|
|
{% if invoiceFunding.amount is not null or invoicePayments is not empty %}
{{ 'payment.title'|trans({}, 'DocumentTrans' ) }}
|
{% if invoicePayments is not empty %}
{{ 'payment.type'|trans({}, 'DocumentTrans' ) }}
|
{{ 'payment.amount'|trans({}, 'DocumentTrans' ) }}
|
{{ 'payment.received'|trans({}, 'DocumentTrans' ) }}
|
{{ 'payment.deadline'|trans({}, 'DocumentTrans' ) }}
|
{{ 'payment.bill'|trans({}, 'DocumentTrans' ) }}
|
{% endif %}
{% set totalPayment = 0 %}
{% for payment in invoicePayments %}
{% set totalPayment = totalPayment + payment.amount %}
{% if payment.mode is not empty %}
{{ payment.mode }}
{% endif %}
{% if payment.checkNumber is not empty %}
{{ payment.bank }} {{ 'payment.number'|trans({}, 'DocumentTrans' ) }} {{ payment.checkNumber }}
{% endif %}
|
{% if payment.amount is not empty %}
{{ payment.amount|number_format(2, ',', ' ') }} {{ currencySymbol }}
{% endif %}
|
{% if payment.receiveDate is not empty %}
{{ payment.receiveDate|date("d/m/Y") }}
{% endif %}
|
{% if payment.termDate is not empty %}
{{ payment.termDate|date("d/m/Y") }}
{% endif %}
|
{% if payment.condition is not empty %}
{{ payment.condition }}
{% endif %}
|
{% endfor %}
{% if invoiceFunding.choice != "enumFundingChoice.no" %}
{% if invoiceFunding.choice == "enumFundingChoice.yes" %}
{{ 'funding.choice.yes'|trans({}, 'DocumentTrans' ) }}
{% elseif invoiceFunding.choice == "enumFundingChoice.personnal" %}
{{ 'funding.choice.personal'|trans({}, 'DocumentTrans' ) }}
{% endif %}
|
{% if invoiceFunding.amount is not empty %}
{{ invoiceFunding.amount|number_format(2, ',', ' ') }} {{ currencySymbol }}
{% endif %}
{% if invoiceFunding.duration is not empty %}
{{ 'funding.duration'|trans({'%duration%': invoiceFunding.duration}, 'DocumentTrans' ) }}
{% endif %}
{% if invoiceFunding.rate is not empty %}
{{ 'funding.rate'|trans({'%rate%': invoiceFunding.rate}, 'DocumentTrans' ) }}
{% endif %}
|
{% endif %}
|
{{ 'payment.total'|trans({}, 'DocumentTrans' ) }}
|
{{ totalPayment|number_format(2, ',', ' ') }} {{ currencySymbol }}
|
|
{{ 'payment.left_to_pay'|trans({}, 'DocumentTrans' ) }}
|
{% if invoiceBalance is not empty %}
{{ invoiceBalance|number_format(2, ',', ' ') }} {{ currencySymbol }}
{% endif %}
|
|
{% endif %}