{{-- Kitchen / bar order docket: what to make, no prices. $type = 'kitchen' | 'bar' | 'all', $items, $order --}} @php $title = ['kitchen' => 'KITCHEN ORDER', 'bar' => 'BAR ORDER', 'all' => 'ORDER CONFIRMATION'][$type] ?? 'ORDER'; @endphp
{{ $title }}
{{ config('pos.company.name') }}

Order: {{ $order->order_number }}
{{ $order->table->name ?? $order->sale_type->label() }} · {{ $order->covers }} cover(s)
Waiter: {{ $order->waiter->name ?? '-' }}
{{ now()->format('d M Y, H:i') }}

@foreach ($items as $item)
{{ $item->quantity }}x {{ $item->product->name }} @if ($type === 'all' && $item->destination === 'bar')BAR@endif
@if ($item->special_instructions)
  * {{ $item->special_instructions }}
@endif @if ($item->status === 'void')
  (voided)
@endif @endforeach
{{ $type === 'all' ? 'This is an order confirmation, not a receipt.' : 'No prices shown.' }}