Logo Logo
Logo
  • {{ __('Categories') }}
      @if ($categoriess->isNotEmpty()) @foreach ($categoriess as $category)
    • {{ $category->name }}
    • @endforeach @else
    • {{ __('Categories unavailable') }}
    • @endif
  • @foreach($menuList as $menu) @foreach($menu['menus'] as $item) @if(!empty($item['submenus']))
  • {{ $item['name'] }}
      @foreach($item['submenus'] as $submenu)
    • {{ $submenu['name'] }}
    • @endforeach
  • @else
  • {{ $item['name'] }}
  • @endif @endforeach @endforeach
  • @if(!Auth::check()) {{ __('become_provider') }} @endif
    • @if ($languages->isNotEmpty()) @foreach ($languages as $language) @php $langFlagPath = "/front/img/flags/" . ($language->code ?? 'default') . ".png"; $langFlagPath = file_exists(public_path($langFlagPath)) ? $langFlagPath : "/front/img/flags/default.png"; @endphp
    • Logo {{ $language->name }}
    • @endforeach @else
    • Languages unavailable
    • @endif
    @if (!empty(Auth::id())) @else
  • {{ __('Signin') }}
  • {{ __('Join us') }}
  • @endif
    • @forelse ($languages as $language) @php $langFlagPath = "/front/img/flags/{$language->code}.png"; @endphp
    • Flag {{ $language->name }}
    • @empty
    • {{ __('Languages unavailable') }}
    • @endforelse
@if (!empty(Auth::id()))
{{ __('Notifications') }}
{{ __('Mark all as read') }}
{{ __('Cancel') }} {{ __('View All') }}
@if (!empty(Auth::user()->userDetails->profile_image) && file_exists(public_path('storage/profile/' . Auth::user()->userDetails->profile_image))) user @else Default Profile Image @endif
@php $dashboardRoute = route('provider.dashboard'); $profileRoute = route('provider.profile'); if (Auth::user()->user_type == 3) { $dashboardRoute = route('user.dashboard'); } elseif (Auth::user()->user_type == 4) { $dashboardRoute = route('staff.dashboard'); } @endphp
    @if(isset($permission) && Auth::user()->user_type == 4)
  • {{ __('Dashboard') }}
  • {{ __('My Profile') }}
  • @else
  • {{ __('Dashboard') }}
  • {{ __('My Profile') }}
  • @endif
  • {{ __('Logout') }}
@else
  • {{ __('Signin') }}
  • {{ __('Join us') }}
@endif