{{$commande->boutique->nom_boutique}}

{{strtoupper(str_replace('_',' ',$commande->boutique->nom_boutique))}}

Email : {{$commande->boutique->meta->email_boutique}}
Telephone : {{$commande->boutique->meta->telephone_boutique}}
Adresse : {{$commande->boutique->meta->country}} / {{$commande->boutique->meta->adresse_boutique}}

CLIENT :

{{$commande->first_name}} {{$commande->last_name}}
Email : {{$commande->email}}
Telephone : {{$commande->customer_phone}}
Adresse : {{$commande->customer_adress}}
COMMANDE EMISE LE : {{$commande->created_at->format('d-m-y à H:i')}}
@if(count($commande->commande_article)>0) @php $helpers=new \App\Http\Controllers\HelperController(); @endphp @foreach($commande->commande_article as $cmd) @endforeach
Référence Nom du produit Prix unitaire Quantité Spécificité Total
{{$cmd->article_slug}} {{$cmd->article_->name}} {{$cmd->price}} {{$cmd->quantity}} {{$cmd->specificity}} {{$commande->currency}} {{$cmd->total_price}} {{$commande->currency}}
@endif
Total Payer : {{$commande->paiement_type=='paid_now' ? ($commande->statut_paiement==true ? $commande->total_price : $commande->montant_payer ) : $commande->montant_payer}} {{$commande->currency}}

Total achat : {{$commande->total_price}} {{$commande->currency}}
Moyen de payement : {{$commande->source ? 'inconnu' : ''}} {{$commande->source_name ? 'inconnu' : ''}}
Mode de payement : @if($commande->paiement_type=='paid_now') Paiement direct @elseif($commande->paiement_type=='paid_echellon') Paiement échelloné @else Paiement après livraison @endif
Etat achat : @if($commande->paiement_type=='paid_now') @if($commande->statut_paiement!=true) {{'echec de paiement'}} @else {{'paiement effectué'}} @endif @else {{'paiement après livraison'}} @endif
Etat livraison: @if($commande->shipping==true) @if($commande->statut_shipping!=true) {{'en attente de livraison'}} @else {{'livraison effectuée'}} le {{$commande->updated_at->format('d-m-y à H:i')}} @endif @else @if(isset($commande->shipping_phone) && $commande->shipping_phone!=null || isset($commande->shipping_adress) && $commande->shipping_adress!=null) @else Livraison non incluse @endif @endif