@vite(['resources/css/app.css', 'resources/js/app.js']) @php $appFontLocationId = session('location_id'); $uiFontFile = $appFontLocationId ? (string) (\App\Models\Setting::get('ui_font_file', '', $appFontLocationId) ?: \App\Models\Setting::get('app_font_file', '', $appFontLocationId)) : ''; $appFontUrl = $uiFontFile !== '' ? asset('fonts/' . rawurlencode($uiFontFile)) : ''; @endphp
@php $isPosPopup = ((int) request('pos_popup', 0) === 1); @endphp @unless($isPosPopup) @include('layouts.navigation') @endunless @unless($isPosPopup) @isset($header)
{{ $header }}
@endisset @endunless
@isset($slot) {{ $slot }} @else @yield('content') @endisset
@stack('scripts')