@vite(['resources/css/app.css', 'resources/js/app.js'])

{{ $table->outlet->name ?? 'Pesanan' }}

{{ $table->name }}

Pesan Lagi
{{-- Status badge --}}
@php $statusConfig = [ 'NEW' => ['label' => 'Pesanan Diterima', 'color' => 'bg-slate-100 text-slate-700', 'icon' => '📋'], 'PREPARING' => ['label' => 'Sedang Dimasak', 'color' => 'bg-amber-100 text-amber-700', 'icon' => '👨‍🍳'], 'READY' => ['label' => 'Pesanan Siap!', 'color' => 'bg-emerald-100 text-emerald-700','icon' => '✅'], 'SERVED' => ['label' => 'Sudah Disajikan', 'color' => 'bg-sky-100 text-sky-700', 'icon' => '🍽️'], ]; $cfg = $statusConfig[$order->kitchen_status] ?? $statusConfig['NEW']; @endphp
{{ $cfg['icon'] }} {{ $cfg['label'] }}

Auto-refresh setiap 15 detik

{{-- Receipt number --}}

Nomor Pesanan

{{ $order->receipt_number }}

{{ $order->created_at->format('d M Y, H:i') }}

{{-- Items --}}

Pesanan Anda

@foreach($order->items as $item)

{{ $item->qty }}x {{ $item->name_snapshot }}

@if($item->variant_snapshot)

{{ $item->variant_snapshot['group'] }}: {{ $item->variant_snapshot['option'] }}

@endif @if($item->addons_snapshot && count($item->addons_snapshot))

+ {{ collect($item->addons_snapshot)->pluck('name')->join(', ') }}

@endif @if($item->note)

{{ $item->note }}

@endif

Rp {{ number_format($item->line_total, 0, ',', '.') }}

@endforeach
Subtotal Rp {{ number_format($order->subtotal, 0, ',', '.') }}
@if($order->tax)
Pajak Rp {{ number_format($order->tax, 0, ',', '.') }}
@endif @if($order->service)
Service Rp {{ number_format($order->service, 0, ',', '.') }}
@endif
Total Rp {{ number_format($order->total, 0, ',', '.') }}
{{-- Payment info --}}
✓ Pembayaran via QRIS — Rp {{ number_format($order->total, 0, ',', '.') }}
+ Pesan Lagi