{{settings.get.projectName}}

Félicitations {{order.customer}}!
{{"Votre commande"|trans({},'messages')}} {{settings.get.projectName}} a été crée



Merci pour votre commande chez I lave u, nous prendrons le plus grand soin de vos affaires.
{% if order is defined %} {% set currency = settings.get.currency|trans({},"admin") %}

Num de {{order.orderType|trans({},"admin")}} {{order.orderNumber}}  | Date de commande {{order.createdAt|date('d/m/Y')}}
{% set totalCommission = 0 %} {% set totalOrder = 0 %} {% for singleOrderItem in order.orderItems %} {% endfor %} {% set reductionCoupon = 0 %} {% if order.coupon %} {% if order.coupon.typeReduction == "percent" %} {% set reductionCoupon = (order.totalAmount / 100) * order.coupon.valueReduction %} {% else %} {% set reductionCoupon = order.coupon.valueReduction %} {% endif %} {% endif %} {% set totalToPay = (order.totalAmount + order.shippingFees + order.shippingTips) - reductionCoupon - order.reductionOnTotal + (order.getAmountPayedByCredit) %} {% if order.payedAmount > 0 %} {% endif %} {% if (order.payedAmount + order.getAmountEarnedAsCredit ) < totalToPay %} {% endif %} {% if order.getTotalReduction > 0 %} {% endif %} {% if order.reduction and order.reduction > 0 %} {% endif %} {% if order.getAmountPayedByCredit and order.getAmountPayedByCredit != 0 %} {% endif %} {% if order.getAmountEarnedAsCredit and order.getAmountEarnedAsCredit != 0 %} {% endif %} {% if reductionCoupon > 0 %} {% endif %} {% if order.shippingTips > 0 %} {% endif %} {% if order.shippingFees > 0 %} {% endif %} {# #}
Produit Prix
{% if singleOrderItem.product %} {% endif %} {{singleOrderItem.description}} {{singleOrderItem.quantity}} x {{singleOrderItem.price}} {{settings.get.currency|trans}}
Sous Total {{order.totalAmount}} {{currency}}
Montant payé {{order.payedAmount}} {{currency}}
Montant restant {{ totalToPay - order.payedAmount }} {{currency}}
Total Reduction sur produits {{order.getTotalReduction}} {{currency}}
Remise sur la commande ({{order.reduction}}%) {{order.reductionOnTotal}} {{currency}}
paiement par credit {{settings.get.projectName}} {{order.getAmountPayedByCredit|abs}} {{currency}}
Montant ajouté au wallet client {{order.getAmountEarnedAsCredit|abs}} {{currency}}
Code Coupon utilisé ({{order.coupon.code }}) {{reductionCoupon|abs}} {{currency}}
Pourboire pour le livreur {{ order.shippingTips }} {{currency}}
Frais de livraison {{ order.shippingFees }} {{currency}}
Montant Total {{ totalToPay }} {{currency}}{{order.totalAmount + order.ldryOrder.deliveryPrice}} {{currency}}
INFOS:
{% if order.comment %}

Note sur la commande: {{order.comment}}

{% endif %} {% if order.shippingMethod %} {% if order.shippingMethod.isIsSeparatelyCalculated %}

Mode livraison : {{order.shippingMethod}}

{% endif %} {% endif %} {% if order.paymentMethod %}

Mode Paiement : {{order.paymentMethod }}

{% endif %} {% if order.agent %}

Livreur : {{order.agent.firstName}} {{order.agent.lastName}}

{% endif %} {% if order.shippingMethod %} {% set shippingDurationInMinutes = order.shippingMethod.shippingDuration * 60 %} {% if order.shippingMethod.isIsSeparatelyCalculated %}

Date collecte : {{order.startProcessingAt|date("Y-m-d H:i")}} - {{order.startProcessingAt|date_modify("+ "~shippingDurationInMinutes~" minutes")|date("H:i")}}

Date livraison : {{order.startDeliveryAt|date("Y-m-d H:i")}} - {{order.startDeliveryAt|date_modify("+ "~shippingDurationInMinutes~" minutes")|date("H:i")}}

{% endif %} {% endif %} {% if order.description %} Informations utiles
{{order.description}}
{% endif %}
{% endif %} Merci de consulter votre compte

{{settings.get.address}}