Commande {{ $reference }}
@foreach($total as $key=>$value)
Total : {{$value}} {{$key}}
@endforeach
@if ($errors->any())
@endif
@if(session("success"))
-
@foreach ($errors->all() as $error)
- {{ $error }} @endforeach
{{session('success')}}
@elseif(session("error"))
{{session('error')}}
@endif
Action | Date | Référence | Boutique | Client | Prix total | Code promo | Montant payer | Reste à payer | Gain Admin | Mode de paiement | Moyen de paiement | Mode de livraison | Etat d'achat | Etat de réception |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
{{$commande->created_at->format('d-m-y à H:i')}} | {{$commande->reference}} | @if(isset($commande->boutique) && isset($commande->boutique->nom_boutique)) {{$commande->boutique->nom_boutique}} @endif | {{$commande->first_name}} {{$commande->last_name}} | {{$commande->total_wr!=null ? $commande->total_wr : $commande->total_price }} {{$commande->currency}} | {{$commande->global_code_promo!=null ? $commande->global_code_promo.'% - ('.$commande->montant_global_code_promo.'F CFA)' : '-'}} | @if($commande->paiement_type=='paid_now') @if($commande->statut_paiement!=true) {{$commande->total_price}} {{$commande->currency}} @else {{$commande->montant_payer}} {{$commande->currency}} @endif @else {{$commande->montant_payer}} {{$commande->currency}} @endif | {{($commande->total_price)-( $commande->paiement_type=='paid_now' ? ($commande->statut_paiement==true ? $commande->total_price : $commande->montant_payer ) : $commande->montant_payer )}} {{$commande->currency}} | {{ $commande->admin_percentage }} % - ({{ $commande->admin_gain }} CFA) | @if($commande->paiement_type=='paid_now') Paiement direct @elseif($commande->paiement_type=='paid_echellon') Paiement échelloné @else Paiement après livraison @endif | {{$commande->source}} {{$commande->source_name}} | {{$commande->service_shipping != null ? $commande->service_shipping->name : 'aucun'}} | @if($commande->paiement_type=='paid_now') @if($commande->statut_paiement!=true) {{'echec de paiement'}} @else {{'paiement effectué'}} @endif @else {{'paiement après livraison'}} @endif | @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 Livraison non incluse @endif |