@php $directory = app()->getLocale() == 'ar' ? 'rtl' : 'ltr'; @endphp {{ $generaleSetting?->title ?? config('app.name', 'Laravel') }} @stack('css') {{-- AWOOKA : menu mobile indépendant --}}
{{-- AWOOKA : header mobile indépendant --}} @include('layouts.mobile-header') @include('layouts.mobile-bottom-nav')

@yield('header-title')

@yield('header-subtitle')

@if ($businessModel == 'multi') @php $user = auth()->user(); $isShop = true; if (!$user->hasRole('root') && ($user->shop || $user->myShop)) { $isShop = false; } @endphp @endif
@hasPermission(['admin.dashboard.notification', 'shop.dashboard.notification']) @endhasPermission
@include('layouts.sidebar') {{-- AWOOKA : menu mobile indépendant --}} @include('layouts.mobile-sidebar')
@if ($seederRun) @endif @if ($storageLink) @endif @if (request()->subscription_required && !request()->routeIs('shop.subscription.index')) @if (!request()->current_subscription) @endif @if (request()->current_subscription && !request()->subscription_expired && request()->current_subscription->remaining_sales === 0) @endif @if (request()->subscription_about_to_expire) @endif @if (request()->subscription_expired) @endif @endif @yield('content')
@if (!$generaleSetting || $generaleSetting?->show_footer) @endif
@include('layouts.galleryModal')
@php $action = request()->is('admin/*', 'admin') ? route('admin.logout') : route('shop.logout'); @endphp
@csrf
{{-- daterange-picker --}} @php $pushWebConfig = $generaleSetting?->fcm_web_config ? json_decode($generaleSetting->fcm_web_config, true) : null; $pushNotificationIndexUrl = request()->is('admin/*', 'admin') ? route('admin.dashboard.notification') : route('shop.dashboard.notification'); $pushNotificationReadTemplate = request()->is('admin/*', 'admin') ? route('admin.notification.read', ['notification' => '__NOTIFICATION__']) : route('shop.notification.read', ['notification' => '__NOTIFICATION__']); $pushNotificationListUrl = request()->is('admin/*', 'admin') ? route('admin.notification.show') : route('shop.notification.show'); @endphp @if (request()->is('admin/*', 'admin')) @hasPermission('admin.dashboard.notification') @endhasPermission @else @hasPermission('shop.dashboard.notification') @endhasPermission @endif @stack('scripts') @if (session('success')) @endif @if (session('error')) @endif @if (session('demoMode')) @endif @if (session('alertError')) @endif {{-- AWOOKA : contrôleur du menu mobile indépendant --}}