@php $publicTabTitle = (request()->routeIs('customer.display') || request()->routeIs('customer.order-board')) ? 'Restaurant POS' : global_setting()->name; @endphp @php $lastSegment = last(request()->segments()); @endphp @if (user()->restaurant_id) @else @endif {{ $publicTabTitle }} @vite(['resources/css/app.css', 'resources/js/app.js']) @livewireStyles @stack('styles') @include('sections.theme_style', [ 'baseColor' => restaurantOrGlobalSetting()->theme_rgb, 'baseColorHex' => restaurantOrGlobalSetting()->theme_hex, ]) @if (File::exists(public_path() . '/css/app-custom.css')) @endif {{-- Include file for widgets if exist --}} @includeIf('sections.custom_script_admin')
@yield('content') {{ $slot ?? '' }}
@stack('modals') @livewireScripts @include('layouts.update-uri') @include('layouts.service-worker-js') @include('sections.pusher-script') @stack('scripts')