- {{ $order['customer']['firstName'] }} {{ $order['customer']['lastName'] }} @if ($order['cacaddress'] != null)
- {{ $order['cacaddress']['address'] }} @endif
- {{ $order['customer']['phone'] }} @if ($order['customer']['email'] != null)
- {{ $order['customer']['email'] }} @endif
- {{ $order['deliveryaddress']['firstName'] }} {{ $order['deliveryaddress']['lastName'] }}
- {{ $order['deliveryaddress']['address'] }}
- {{ $order['deliveryaddress']['phone'] }} @if ($order['customer']['email'] != null)
- {{ $order['customer']['email'] }} @endif
- Restaurant : {{ $order['store_name'] }}
- Date de la commande : {{ \Carbon\Carbon::parse($order['created_at'])->formatLocalized('%d/%m/%Y à %H:%M') }} @if ($order['planified'])
- Planifier : {{ \Carbon\Carbon::parse($order['planified_at'])->formatLocalized('%d/%m/%Y à %H:%M') }} @endif
- Mode choisi : {{ __('order.deliverytype.' . $order['type']) }} @if ($order['type'] == 'at_place')
- @if ($order['table'] != null) N° Table : {{ $order['table']['table_number'] }} @endif @endif
- Paiement : @if ($order['is_paid']) effectue @elseif (!$order['is_paid'] && $order['type'] == 'cac') caisse @elseif(!$order['is_paid'] && $order['type'] == 'liv') livraison @elseif(!$order['is_paid'] && $order['type'] == 'at_place') caisse @endif
- État : {{ __('order.status.' . $order['status']) }}
Votre commande a été annulée sur {{ $order['store_name'] }}.
Nous espérons vous revoir bientôt sur L'Atelier Du Sushi.
| Produits | Prix unitaire | Total |
|---|---|---|
|
{{ $element['quantity'] }}
x Name here
@if (isset($element['sub_elements_order']))
@foreach ($element['sub_elements_order'] as $sub_element)
@if ($sub_element['type'] != 'size')
@endforeach
@endif
@if (isset($element['promo']))
@if ($sub_element['quantity'] > 0)
{{ $sub_element['quantity'] }}
x
{{ $sub_element['sub_product']['name'] }},
{{ $sub_element['price'] }} €
@else
Sans
{{ $sub_element['sub_product']['name'] }}
@endif
@endif
element.DiscountPromotionProducts.text @endif |
15 $ |
@if (isset($element['promo']))
element.DiscountPromotionProducts.totalPriceWithoutDiscount @endif$ {{ $element['total_amount_element_subelements'] }} |
Commentaire :
{{ $order['comment'] }}
Total de la commande : total 15
@if ($order['promocode'] != null)Promo code {{ $order['promocode']['code_number'] }}, -{{ $order['promocode']['percentage'] }} % : - here add discount promocode
@endif @if ($order['loyalty_card'] != null)Carte de fidélité {{ $order['loyalty_card']['percentage'] }}% : - DiscountLoyaltyCard
@endif @if ($order['type'] != 'liv' && $order['fees'] != null && $order['fees'] > 0)Frais de livraison : {{ $order['fees'] }}
@endifTotalAmount : {{ $order['total_amount'] }}