VENTES suivi de toutes vos ventes en cours ou finalisées

@foreach($total as $key=>$value)
Solde total ventes validées : {{$value}} {{$key}}
   @endforeach
@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @if(session("success"))
{{session('success')}}
@elseif(session("error"))
{{session('error')}}
@endif
NB: Vous devez validé la livraison des commandes avant de percevoir le montant de la transaction.
Notez que chaque transaction sera verifiée avant un retrait.
@php $helpers=new \App\Http\Controllers\HelperController(); @endphp @foreach($commandes as $commande) @if(count($commande->commande_article)>0) @endif @endforeach
Référence Boutique Client Prix total Code Promo Montant payer Reste à payer Mode de paiement Moyen de paiement Mode de livraison Etat d'achat Etat de réception Date Action
{{$commande->reference}} {{$commande->boutique->nom_boutique}} {{$commande->first_name}} {{$commande->last_name}} {{$commande->total_wr!=null ? $commande->total_wr : $commande->total_price }} {{$commande->currency}} {{$commande->code_promo!=null ? $commande->code_promo.' ('.$commande->code_promo_reduction.'%)' : '-'}} @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}} @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    Facture @if($commande->shipping==true) details @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) details @else Livraison non incluse @endif @endif {{$commande->created_at->format('d-m-y à H:i')}} Détails commandes @if($commande->statut_shipping!=true) Validé livraison @endif supprimer
{{ $commandes->links() }}