@extends('layouts.app') @section('content')
Restaurant / Bar
User: {{ auth()->user()->name }}
Branch: {{ auth()->user()->branch->name ?? 'No Branch Assigned' }}
@if($shiftManagementEnabled && ($shiftOpeningRequired || $activeShift))
Shift: {{ $activeShift?->shift_no ?? 'Closed' }}
@endif
@if($shiftManagementEnabled && ($shiftOpeningRequired || $activeShift)) @if($activeShift) Shift Report @else @endif @endif @if(auth()->user()->hasPermission('restaurant_bar.advance_payments'))Advance Payments@endif @if(auth()->user()->canAccessModule('till-collections') && auth()->user()->hasAnyPermission(['till_collections.view_own','till_collections.view_all']))Till Collections@endif @if(auth()->user()->hasPermission('restaurant_bar.open_bills') && \App\Models\SystemSetting::getValue('website_allow_online_orders', 'no') === 'yes') Website Orders @endif
@csrf
@if($shiftManagementEnabled && $shiftOpeningRequired && !$activeShift)
Open your shift before posting orders or selling.
@endif
@if($enableTables === '1')
Tables
@endif
@if($showKeyboard === '1') @endif @if($showNumbers === '1') @endif
@if($showKeyboard === '1')
@foreach(str_split('QWERTYUIOP') as $key) @endforeach
@foreach(str_split('ASDFGHJKL') as $key) @endforeach
@foreach(str_split('ZXCVBNM') as $key) @endforeach
@endif @if($showNumbers === '1')
@foreach(str_split('1234567890') as $key) @endforeach
@endif
@foreach($categories as $category) @endforeach
Current Order
Table 1
@if($showCustomerName === '1')
@endif
Total Amount
{{ \App\Models\SystemSetting::formatMoney(0) }}
@if($printMode === 'one_receipt')
@foreach($paymentMethods as $method) @php($requiresReference = strtolower(trim($method->name)) !== 'cash')
@if($requiresReference) @endif
@endforeach
@endif
@if($printMode === 'one_receipt') @permission('restaurant_bar.print_bill') @endpermission @elseif($printMode === 'bill_kitchen_order') @permission('restaurant_bar.print_bill') @endpermission @else @endif
@if($shiftManagementEnabled && ($shiftOpeningRequired || $activeShift))

Open Shift

@csrf

Close Shift

@csrf
@endif

Table Orders

@if(auth()->user()->hasPermission('restaurant_bar.post_to_room'))

Post Bill to Room

@endif

Split Bill

New Bill Total {{ $currencyCode }} 0
@endsection