{% include FOOTER f 30 50 %}
{% set vehiclePurchase = vehicleData.vehiclePurchase %}
SYNTHESE MARGE SUR VEHICULE |
N° de VO {% if vehicle.vo is not empty %}{{ vehicle.vo }}{% endif %} |
{# params include #}
{% set vehicle = vehicle %}
{% include TEMPLATE_BASE_VEHICLE_TABLE %}
|
{% set vehicleSelling = vehicle_invoice.vehicleSellingList[0] %}
Libellés |
Achats |
Ventes |
Date |
{% if vehicle.purchase.purchaseDate is not empty %}{{ vehicle.purchase.purchaseDate|date('d/m/y') }}{% endif %} |
{% if vehicle_invoice.invoiceDate is not empty %} {{ vehicle_invoice.invoiceDate|date('d/m/y') }} {% endif %} |
Zone |
{% if vehicle.purchase.zonePurchase is not empty %}{{ vehicle.purchase.zonePurchase|trans({}, 'CommonTrans') }}{% endif %} |
{% if vehicleSelling.zone is not empty %} {{ vehicleSelling.zone|trans({}, 'CommonTrans') }} {% endif %}
|
Prix HT |
{% if vehicle.purchase.price is not empty %}{{ vehicle.purchase.price|number_format(2, ',', ' ') }} {{ currencySymbol }}{% endif %} |
{% if vehicleSelling.sellPriceWithoutTax is not empty %} {{ vehicleSelling.sellPriceWithoutTax|number_format(2, ',', ' ') }} {{ currencySymbol }}{% endif %}
|
Tva |
{% if vehicle.purchase.tax is not empty %}{{ vehicle.purchase.tax|trans({}, 'CommonTrans') }}{% endif %} |
{% if vehicleSelling.tax is not empty %} {{ vehicleSelling.tax|trans({}, 'CommonTrans') }} {% endif %}
|
Prix TTC |
{% if vehicle.purchase.priceTtc is not empty %}{{ vehicle.purchase.priceTtc|number_format(2, ',', ' ') }} {{ currencySymbol }}{% endif %} |
{% if vehicleSelling.sellPriceWithTax is not empty %} {{ vehicleSelling.sellPriceWithTax|number_format(2, ',', ' ') }} {{ currencySymbol }}{% endif %}
|
Réglé |
{% if vehicle.purchase.payment.settled == 1 %}Oui{% else %}Non{% endif %} |
{% if invoice.balance == 0 %}
Oui
{% else %}
Non
{% endif %}
|
|
{% set supplier = vehicle.purchase.newSupplier.contact %}
{% set supplierAddress = vehicle.purchase.newSupplier.addressHistory %}
{% set customer = vehicle_invoice.newCustomer.contact %}
{% set customerAddress = vehicle_invoice.newCustomer.addressHistory %}
Libellés |
Fournisseur |
Acheteur |
Raison Social ou Particulier |
{% if supplier|instanceof('AppBundle\\Entity\\Contact\\ContactIndividual') %}
{% if supplier.civility is not empty and supplier.civility == 'CONTACT.CIVILITY.MADAM' %}
Mme
{% else %}
M.
{% endif %}
{{ supplier.lastname }}
{{ supplier.firstname }}
|
{% else %}
{{ supplier.corporateNameContact }}
|
{% endif %}
{% if customer|instanceof('AppBundle\\Entity\\Contact\\ContactIndividual') %}
{% if customer.civility is not empty and customer.civility == 'CONTACT.CIVILITY.MADAM' %}
Mme
{% else %}
M.
{% endif %}
{{ customer.lastname }}
{{ customer.firstname }}
|
{% else %}
{{ customer.corporateNameContact }}
|
{% endif %}
Adresse |
{% if supplierAddress.address is not empty %} {{ supplierAddress.address }} {% endif %} |
{% if customerAddress.address is not empty %} {{ customerAddress.address }} {% endif %} |
Adresse Bis |
{% if supplierAddress.address2 is not empty %} {{ supplierAddress.address2 }} {% endif %} |
{% if customerAddress.address2 is not empty %} {{ customerAddress.address2 }} {% endif %} |
Code Postal |
{% if supplierAddress.postalCode is not empty %} {{ supplierAddress.postalCode }} {% endif %} |
{% if customerAddress.postalCode is not empty %} {{ customerAddress.postalCode }} {% endif %} |
Ville |
{% if supplierAddress.city is not empty %} {{ supplierAddress.city }} {% endif %} |
{% if customerAddress.city is not empty %} {{ customerAddress.city }} {% endif %} |
|
Frais Réel HT {{ lastValidInvoice }} |
Montant |
Total Frais HT |
{% if vehiclePurchase.totalChargeWithoutTax is not empty %}
{{ vehiclePurchase.totalChargeWithoutTax|number_format(2, ',', ' ') }} {{ currencySymbol }}
{% endif %}
|
Coût de revient |
{% if vehiclePurchase.costPriceWithoutTax is not empty %}
{{ vehiclePurchase.costPriceWithoutTax|number_format(2, ',', ' ') }} {{ currencySymbol }}
{% endif %}
|
Prix de vente |
{% if vehicle_invoice.sellPriceWithoutTax is not empty %}
{{ vehicle_invoice.sellPriceWithoutTax|number_format(2, ',', ' ') }} {{ currencySymbol }}
{% endif %}
|
|
Marge brute |
{% if vehicle_invoice.vehicleSellingList[0].grossMargin is not empty %}
{{ vehicle_invoice.vehicleSellingList[0].grossMargin|number_format(2, ',', ' ') }} {{ currencySymbol }}
{% endif %}
|
Marge nette |
{% if vehicle_invoice.vehicleSellingList[0].netMargin is not empty %}
{{ vehicle_invoice.vehicleSellingList[0].netMargin|number_format(2, ',', ' ') }} {{ currencySymbol }}
{% endif %}
|
|