Facture {{ $commande->created_at->format('d/m/Y H:i') }} Status: {{$commande->statut}}
De:
{{$commande->restaurant->name}}
Adresse
{{$commande->address}}
Email: {{$commande->restaurant->email}}
Telephone: {{$commande->restaurant->phone_number}}
@if ($commande->restaurant->logo)
Logo du Restaurant
@endif
A:
{{$commande->client_name}}
{{$commande->telephone_client}}
Numéro de Table: @if ($commande->table) {{$commande->table->id}} @else NA @endif
@if($commande->table->qr_code) QR Code @else {{-- --}} No QR Code @endif
@foreach ($commande->details as $detail) @endforeach
# Plats Quantité Prix Unitaire Prix Total
{{ $detail->plat->name }} {{ $detail->quantite }} {{ $detail->plat->price }} F {{ $detail->quantite * $detail->plat->price }} F
--}}
Total {{$totalPrice }} Fcfa
{{-- 0.15050000 BTC
@if($commande->statut == 'en_cours') @else Encaissée @endif
@if ($commande->restaurant->signature)
Signature du Cachet
@endif