De:
{{$commande->restaurant->name}}
Adresse: {{$commande->restaurant->address ?? 'N/A'}}
Email: {{$commande->restaurant->email}}
Téléphone: {{$commande->restaurant->phone_number}}
A:
Nom : {{$commande->client_name ?? 'Client Inconnu'}}
Telephone : {{$commande->telephone_client ?? 'Téléphone Non Spécifié'}}
@if ($commande->restaurant->logo)
@endif
Numéro de Table:
@if ($commande->table)
{{$commande->table->id}}
@else
Commande à Emporter
@endif
@if($commande->table && $commande->table->qr_code)
 }})
@else
No QR Code
@endif
@foreach ($commande->details as $index => $detail)
@endforeach
# |
Plats |
Quantité |
Prix Unitaire |
Prix Total |
{{ $loop->iteration }} |
{{ $detail->plat->name }} |
{{ $detail->quantite }} |
{{ $detail->plat->price }} Fcfa |
{{ $detail->quantite * $detail->plat->price }} Fcfa |
Total |
{{$totalPrice}} Fcfa |
@if($commande->statut == 'en_cours')
@else
Encaissée
@endif
@if ($commande->restaurant->signature)
@endif