|
{{'facture_achat.content_block.title'|trans({}, 'DocumentTrans') }} |
Certifie avoir acheté le {% if vehicle.purchase.purchaseDate is not empty %}{{ vehicle.purchase.purchaseDate|date('d/m/y') }}{% endif %} à |
|
{# params include #}
{% set customer = {} %}
{% if vehicle.purchase.newSupplier|instanceof('AppBundle\\Entity\\History\\Contact\\ContactHistory') %}
{% set customer = get_service('app_bundle.manager.contact').getCustomerContactHistoryFormatted(vehicle.purchase.newSupplier) %}
{% endif %}
{% set cssCustomerCenter = true %}
{% include TEMPLATE_CUSTOMER %}
|
|
Le véhicule défini ci-dessous : |
{# params include #}
{% set vehicle = vehicle %}
{% set displaySellPrice = false %}
{% set noWarranty = true %}
{% include TEMPLATE_VEHICLE_TABLE_PURCHASE %}
|
|
Montant de la Transaction : {% if vehicle.purchase.priceTtc is not empty %}{{ vehicle.purchase.priceTtc|number_format(2, ',', ' ') }} {{ currencySymbol }}{% endif %}
|
{% if vehicle.purchase.tax %}
{% set amountWithoutTax = vehicle.purchase.priceTtc - vehicle.purchase.purchaseTotalDeductibleTax %}
Tableau des TVA |
Base |
Montant de la TVA |
{{ vehicle.purchase.tax|trans({}, 'CommonTrans') }} |
{{ amountWithoutTax|number_format(2, ',', ' ') }} {{ currencySymbol }} |
{{ vehicle.purchase.purchaseTotalDeductibleTax|number_format(2, ',', ' ') }} {{ currencySymbol }} |
TOTAL TVA |
{{ vehicle.purchase.purchaseTotalDeductibleTax|number_format(2, ',', ' ') }} {{ currencySymbol }}
|
|
{% endif %}
{% if vehicle.purchase.payment is not empty %}
Règlements |
N° BC Achat |
N° Facture |
Véhicule réglé |
Montant réglé |
Date Règlement |
Echéance |
Mode |
Banque |
{{ vehicle.purchase.payment.purchaseOrderNumber }}
|
{{ vehicle.purchase.payment.invoiceNumber }}
|
{{ vehicle.purchase.payment.settled is defined and vehicle.purchase.payment.settled == true ? 'OUI' : 'NON' }}
|
{{ vehicle.purchase.payment.amount|number_format(2, ',', ' ') }} {{ currencySymbol }}
|
{{ vehicle.purchase.payment.paymentDate|date('d/m/Y') }}
|
{{ vehicle.purchase.payment.dueDate|date('d/m/Y') }}
|
{{ vehicle.purchase.payment.paymentType.name }}
|
{{ vehicle.purchase.payment.bank }}
|
|
{{ 'invoice.tax.mentions.title'|trans({}, 'DocumentTrans' )}} :
{% if mentionTax is defined %}
{{ mentionTax }} |
{% endif %}
{{ documentNote.complementaryMention }}
{% if customer.discr is defined %}
{% if customer.discr == constant('AppBundle\\Entity\\Contact\\Contact::CONTACT_DISCR_INDIVIDUAL') %}
{{ documentNote.individualMention }}
{% else %}
{{ documentNote.professionalMention }}
{% endif %}
{% endif %}
|
Remarques : {{ vehicle.purchase.payment.note }} |
|
{% endif %}