@if ($command->type_id == 1) Confirmation de la commande @elseif ($command->type_id == 2) Confirmation du retour @endif


@if ($command->type_id == 1)
Votre commande N° {{$command->number}}
@elseif ($command->type_id == 2)
Votre retour N° {{$command->number}}
@endif


Numéro Date création Statut
{{$command->number}} {{$command->created_at->format('d-m-Y')}} {{$command->status->name}}


@foreach ($command->items as $item) @if ($item->saisir_longueur==1 && $item->length != null) @else @endif @if ($item->saisir_largeur==1 && $item->width != null) @else @endif @if ($item->saisir_hauteur==1 && $item->high != null) @else @endif @if ($item->saisir_dim_supp_1==1 && $item->dim_supp_1 != null) @else @endif @if ($item->saisir_dim_supp_2==1 && $item->dim_supp_2 != null) @else @endif @if ($item->saisir_dim_supp_3==1 && $item->dim_supp_3 != null) @else @endif @if ($item->saisir_dim_supp_4==1 && $item->dim_supp_4 != null) @else @endif @if ($item->saisir_dim_supp_5==1 && $item->dim_supp_5 != null) @else @endif @if ($item->saisir_info_supp_1==1 && $item->info_supp_1 != null) @else @endif @if ($item->saisir_info_supp_2==1 && $item->info_supp_2 != null) @else @endif @if ($item->discount_rate != null) @else @endif @endforeach
Produit Variante Prix unitaire TTC Longueur Largeur Hauteur Label dim supp 1 Dim supp 1 Label dim supp 2 Dim supp 2 Label dim supp 3 Dim supp 3 Label dim supp 4 Dim supp 4 Label dim supp 5 Dim supp 5 Label info Supp 1 Info supp 1 Label info Supp 2 Info supp 2 Quantité Remise % Total TTC
{{$item->product_name}} {{$item->variant_ERP_code}} {{number_format($item->unitary_ttc, 2, ',', ' ')}}{{number_format($item->length, 2, ',', ' ')}}-{{number_format($item->width, 2, ',', ' ')}}-{{number_format($item->high, 2, ',', ' ')}}-{{$item->label_dim_supp_1}} {{number_format($item->dim_supp_1, 2, ',', ' ')}}- -{{$item->label_dim_supp_2}} {{number_format($item->dim_supp_2, 2, ',', ' ')}}- -{{$item->label_dim_supp_3}} {{number_format($item->dim_supp_3, 2, ',', ' ')}}- -{{$item->label_dim_supp_4}} {{number_format($item->dim_supp_4, 2, ',', ' ')}}- -{{$item->label_dim_supp_5}} {{number_format($item->dim_supp_5, 2, ',', ' ')}}- -{{$item->label_info_supp_1}} {{$item->info_supp_1}}- -{{$item->label_info_supp_2}} {{$item->info_supp_2}}- -{{$item->quantity}}{{$item->discount_rate}}-{{$item->ttc_total}}

Prix Total TTC
{{$command->ttc_total}}

@if ($command->type_id == 2) @else @endif @if ($command->delivery != null) @else @endif
Adresse de retourAdresse de livraison
@if ($command->delivery->last_name && $command->delivery->last_name){{$command->delivery->last_name}} {{$command->delivery->first_name}}
@endif @if($command->delivery->adress){{$command->delivery->adress}}@endif @if($command->delivery->adress_followup!=null){{$command->delivery->adress_followup}}
@endif{{$command->delivery->town}}
{{$command->delivery->phone}}