@stack('styles') @php $user = auth()->user(); $initial = mb_strtoupper(mb_substr($user->name ?? '?', 0, 1)); $nav = [ [ 'section' => $isRtl ? 'حسابي' : 'My Account', 'items' => [ ['route' => 'client.dashboard', 'icon' => 'fa-gauge', 'label' => $isRtl ? 'الرئيسية' : 'Dashboard'], [ 'route' => 'client.profile', 'icon' => 'fa-user', 'label' => $isRtl ? 'بياناتي الشخصية' : 'My Profile', ], ], ], [ 'section' => '', 'items' => [ [ 'route' => 'client.financing-request.index', 'icon' => 'fa-file-signature', 'label' => $isRtl ? 'طلبات التمويل' : 'Financing Requests', ], ], ], ]; @endphp

@yield('page_title', $isRtl ? 'لوحة تحكم العميل' : 'Client Dashboard')

@if (session('success'))
{{ session('success') }}
@endif @if (session('error') || $errors->any())
{{ session('error') ?? ($isRtl ? 'يوجد أخطاء في البيانات المدخلة' : 'Please correct the errors below') }}
@endif @yield('content')
@stack('scripts')