{% set vehicleSellings = sellingData.vehicleSellings is defined and sellingData.vehicleSellings|length > 0 ? sellingData.vehicleSellings : null %} {% set serviceSellings = sellingData.serviceSellings is defined and sellingData.serviceSellings|length > 0 ? sellingData.serviceSellings : null %} {% set vehiclePartExchange = sellingData.partExchangePurchase %} {% set hasPayments = displayPayments == true and sellingData.payments is not empty and sellingData.payments|length > 0 %} {% set vehicleSellingsColumnWidth = 30 %} {% set serviceSellingsColumnWidth = 30 %} {% set partExchangeColumnWidth = 20 %} {% set paymentsColumnWidth = 20 %}
{% if notShowColumnTaxAndTotalWithTax == false %} {{ 'administrative.total.price_with_tax'|trans({}, 'DocumentTrans' ) }} {% else %} {{ 'administrative.total.price_without_tax'|trans({}, 'DocumentTrans' ) }} {% endif %} {{ sellingData.sellPriceWithTax|replace(',', '.')|number_format(2, ',', ' ') }}{{ currencySymbol }} |
{% if sellingData.funding > 0 %}
{% if invoiceFunding is defined and invoiceFunding.choice == 'enumFundingChoice.personnal' %} {{ 'funding.choice.personal'|trans({}, 'DocumentTrans' ) }} {% else %} {{ 'funding.choice.yes'|trans({}, 'DocumentTrans' ) }} {% endif %} {{ sellingData.funding }}{{ currencySymbol }} |
{% endif %}
{% if displayPayments == true %}
{{ 'payment.left_to_pay'|trans({}, 'DocumentTrans' ) }} {{ sellingData.balance|replace(',', '.')|number_format(2, ',', ' ') }}{{ currencySymbol }} |
{% endif %}