Moyen de paiement :
{{ order.paymentMethod.name }}
Montant total :
{{ order.total|number_format(2, ',', ' ') }} €
État :
{% if order.state == constant('App\\Entity\\Order::STATE_CONFIRM') %}
Confirmée
{% elseif order.state == constant('App\\Entity\\Order::STATE_PAYMENT_WAITING') %}
En attente de paiement
{% else %}
Annulée / Refusée
{% endif %}
Reste à payer :
{{ order.outstandingBalance|default('0.00')|number_format(2, ',', ' ') }} €
{% if order.isPaid %}
{% endif %}
{% if order.licenceItems|length > 0 %}
Licences
{% for licenceItem in order.licenceItems %}
Profil : {{ licenceItem.profil.fullname }}
Type de licence : {{ licenceItem.typeLicence.name }} ({{ licenceItem.typeLicence.type }})
Prix : {{ licenceItem.price|number_format(2, ',', ' ') }} €
{% endfor %}
{% endif %}
{% if order.stageItems|length > 0 %}
Stages
{% for stageItem in order.stageItems %}
Profil : {{ stageItem.profil.fullname }}
Stage :
{{ stageItem.stageDay.stage.name }} — {{ stageItem.stageDay.date|date('d/m/Y') }}
Prix : {{ stageItem.price|number_format(2, ',', ' ') }} €
{% endfor %}
{% endif %}