@if (!request()->route()->named('viewHomePage'))
    @foreach ($client_sections ?? [] as $section) {{-- mr mahmoud temporary condition --}} @if(! ($section->id == 220) || (Auth()->check() && ! in_array(Auth()->user()->id , preventUserFromForeCast() )) ) @if ($section->route != null && count($section->subSections) == 0)
  • {{-- class="kt-menu__item kt-menu__item--rel kt-menu__item--open kt-menu__item--here" > --}} {{ __($section->name[$lang]) }}
  • @elseif (count($section->subSections) > 0) @if ($section->name['en'] == 'Trend Analysis Reports')
  • {{ $section->name[$lang] }}
      {{-- ZONES --}}
    • {{ __('Zones Analysis Reports') }}

    • {{-- Sales Channels --}}
    • {{ __('Sales Channels Analysis Reports') }}

    • {{-- Categories --}}
    • {{ __('Categories Analysis Reports') }}

  • @elseif ($section->name['en'] == 'Breakdown Analysis Report')
  • {{ $section->name[$lang] }}
      {{-- ZONES --}}
    • {{ __('Zones Analysis Reports') }}

    • {{-- Sales Channels --}}
    • {{ __('Sales Channels Analysis Reports') }}

    • {{-- Categories --}}
    • {{ __('Categories Analysis Reports') }}

  • @else @if($section->name['en'] ==='Dashboard')
  • {{ $section->name[$lang] }}
      @foreach ($section->subSections as $subSection) @if(($subSection->name['en'] == 'Sales Person Dashboard' && in_array('Sales Person',$exportables)) ) @include('print_sections') @continue @endif @if( ($subSection->name['en'] == 'Customers Dashboard' && in_array('Customer Name',$exportables) )) @include('print_sections') @continue @endif @if($subSection->name['en'] != 'Customers Dashboard' && $subSection->name['en'] != 'Sales Person Dashboard' ) @include('print_sections') @endif @endforeach
  • @else
  • {{ $section->name[$lang] }}
      @foreach ($section->subSections as $subSection) {{-- Route with No Children --}} @if ($subSection->route != null && count($subSection->subSections) == 0) @if ($subSection->id == 222 || $subSection->id == 223 || $subSection->id == 224 || $subSection->id == 225 || $subSection->id == 226)
      Fatal error: Uncaught Error: Class "App\Models\ModifiedSeasonality" not found in /home/cfostools/public_html/cfostools.evoqas.com/resources/views/layouts/topbar.blade.php:273 Stack trace: #0 {main} thrown in /home/cfostools/public_html/cfostools.evoqas.com/resources/views/layouts/topbar.blade.php on line 273