{% set company = order.companySnapshot %}

Bon de commande {{ order.number ?: 'BROUILLON' }}

{{ company.name|default('') }}
{{ company.address|default('') }}
{{ company.postalCode|default('') }} {{ company.city|default('') }}
{{ company.email|default('') }}
SIRET : {{ company.siret|default('') }}
TVA : {{ company.vatNumber|default('') }}
{{ order.customerNameSnapshot }}
{{ order.customerAddressSnapshot }}
{{ order.customerPostalCodeSnapshot }} {{ order.customerCitySnapshot }}
{{ order.customerCountrySnapshot }}
{{ order.contactSnapshot.name|default('') }} {{ order.contactSnapshot.email|default('') }}

Date : {{ order.issueDate|date('d/m/Y') }}
Référence client : {{ order.customerOrderReference ?: '—' }}{% if order.customerOrderDate %} du {{ order.customerOrderDate|date('d/m/Y') }}{% endif %}
Exécution prévue : {{ order.expectedExecutionDate ? order.expectedExecutionDate|date('d/m/Y') : '—' }}

{{ order.subject }}

{{ order.introText|striptags|nl2br }}

{% for line in order.lines %}{% endfor %}
PrestationQuantitéPrix HTRemise %TVA %Total HT
{{ line.label }}
{{ line.description|striptags|nl2br }}
{{ line.quantity }} {{ line.unit }}{{ line.unitPriceHt|number_format(2, ',', ' ') }}{{ line.discountRate }}{{ line.vatRate }}{{ line.subtotalHt|number_format(2, ',', ' ') }}

Total HT : {{ order.subtotalHt|number_format(2, ',', ' ') }} {{ order.currency }}
TVA : {{ order.totalVat|number_format(2, ',', ' ') }} {{ order.currency }}
Total TTC : {{ order.totalTtc|number_format(2, ',', ' ') }} {{ order.currency }}

Conditions

{{ order.paymentTerms|nl2br }}

{{ order.footerNotes|striptags|nl2br }}

{% if order.sourceDocumentNumberSnapshot %}

Devis source : {{ order.sourceDocumentNumberSnapshot }}

{% endif %}