@php($currentKioskId = session('kiosk_id')) @if (empty($currentKioskId)) @php($kiosks = \Modules\Kiosk\Entities\Kiosk::where('branch_id', $shopBranch->id)->where('is_active', true)->get())
@if ($kiosks->count() == 0)

{{ trans('kiosk::modules.settings.no_kiosks') }}

{{ trans('kiosk::modules.settings.no_kiosks_subheading') }}

{{ trans('kiosk::modules.settings.add_kiosk_button') }}
@else

{{ trans('kiosk::modules.settings.selector_heading') }}

{{ trans('kiosk::modules.settings.selector_subheading') }}

@endif
@endif @livewire('kiosk::kiosk.welcome', ['restaurant' => $restaurant, 'shopBranch' => $shopBranch]) @livewire('kiosk::kiosk.order-type', ['restaurant' => $restaurant, 'shopBranch' => $shopBranch]) @livewire('kiosk::kiosk.menu', ['restaurant' => $restaurant, 'shopBranch' => $shopBranch]) @livewire('kiosk::kiosk.item-customisation', ['restaurant' => $restaurant, 'shopBranch' => $shopBranch]) @livewire('kiosk::kiosk.cart-summary', ['restaurant' => $restaurant, 'shopBranch' => $shopBranch, 'kioskId' => session('kiosk_id')]) @livewire('kiosk::kiosk.payment-method', ['restaurant' => $restaurant, 'shopBranch' => $shopBranch, 'kioskId' => session('kiosk_id')]) @push('scripts') @endpush