@if($order)

PIZZERIA KADI

{{-- --}}
@forelse($order->products as $product) @empty @endforelse
Désignation Prix/Unité Montant
{{ $product->name }} {{ number_format($product->price, 2, '.', ' ') }} x{{ $product->pivot->quantity }} CFA{{ number_format($product->price * $product->pivot->quantity, 2, '.', ' ') }}
Aucune information à afficher
TOTAL: CFA{{ number_format(\App\Services\OrderService::sum_order($order), 2, '.', ' ') }}
@if($order->delivery)

NB: Le montant à payer est calculé sans les frais de la livraison

@endif @if($order->payment)
Montant à payer Montant payé Montant remis
CFA{{ number_format($order->payment->total_amount, 2, '.', ' ') }} CFA{{ number_format($order->payment->amount_paid, 2, '.', ' ') }} CFA{{ number_format($order->payment->amount_paid - $order->payment->total_amount, 2, '.', ' ') }}
@endif
Appelez le service client au {{ env("CUSTOMER_SERVICE_NUMBER") }}
@else

PIZZERIA KADI

Cette commande n'est pas valide !

@endif