{{-- Admin UI is light-only: strip dark class before paint (OS dark / saved pref should not apply here) --}} @yield('title', 'Admin') - {{ config('app.name', 'ProInvoice') }} @php $companySettings = \App\Models\CompanySetting::getSettings(); $faviconUrl = ($companySettings->company_favicon ?? null) && \Illuminate\Support\Facades\Storage::disk('public')->exists($companySettings->company_favicon) ? \Illuminate\Support\Facades\Storage::url($companySettings->company_favicon) : asset('favicon.png'); @endphp @vite(['resources/css/app.css', 'resources/js/app.js'])
@include('components.sidebars.admin')

@yield('page-title', 'Dashboard')

@hasSection('breadcrumbs') @endif
@php $languages = [ 'en' => ['name' => 'English', 'flag' => '🇬🇧'], 'ar' => ['name' => 'العربية', 'flag' => '🇸🇦'], 'de' => ['name' => 'Deutsch', 'flag' => '🇩🇪'], 'es' => ['name' => 'Español', 'flag' => '🇪🇸'], 'fr' => ['name' => 'Français', 'flag' => '🇫🇷'], 'pt' => ['name' => 'Português', 'flag' => '🇵🇹'], ]; $currentLocale = app()->getLocale(); $currentLocaleFlag = $languages[$currentLocale]['flag'] ?? '🌐'; @endphp
@foreach($languages as $code => $lang)
@csrf
@endforeach
@if(session('success'))
check_circle {{ session('success') }}
@endif @if(session('error'))
error {{ session('error') }}
@endif @if($errors->any())
error Please fix the following errors:
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @yield('content')
{{-- Row ⋮ menus are moved to document.body when opened (see partials.admin.fixed-action-menu) --}} @include('partials.admin.fixed-action-menu') @stack('scripts')