Validation commande

@if($logged == false) @if($log == false)

Informations client

@else
@if($step == 1 || $step == 2)
@endif @if($step == 2)
@endif @endif @else @if($palier == 1)

Informations client

@livewire('admin.extra.list-contact', ['client' => $client]) @livewire('admin.extra.list-adress', ['client' => $client]) @livewire('modal.adresse', ['client' => $client]) @livewire('modal.contact', ['client' => $client]) @elseif($palier == 2)

Mode de paiement

Choisir méthode de paiement

@elseif($palier == 3)

Résumé de la commande

@if(session()->get('cart') != null) @foreach(session()->get('cart') as $key => $data) @if($prod != null)
Product

{{$prod->designation}}

Prix unité:{{number_format($data['prix'])}} FCFA
{{number_format($data['prix']*$data['quantite'])}} FCFA

Quantité:  {{$data['quantite']}}

@endif @endforeach @endif

Livraison à:

  • Client: {{$client->nom}}
  • Adresse: {{App\Models\Adress::where('id',$adress['adress_id'])->first()->adress}}, {{$adress['precision']}}
  • Téléphone: {{$contact}}

Mode de paiement:

    @if($mode_paie == 1)
  • Paiement en espèces:  à la livraison
  • @else
  • Paiement en ligne
  • @endif
@endif
@if($palier == 3) @if($mode_paie == 1) @else @endif @else @endif
@endif
@if($palier != 1 || $logged == true)
@if($palier == 3) @if($mode_paie == 1) @else @endif @else @endif
@endif
@if($client != null && $livraison != null && $adress != null) @livewire('modal.paiement', ['total' => ($sous_total+$livraison), 'client' => $client,'adress' => $adress , 'livraison' => $livraison, 'carte' => $numeroCarte]) @endif