@if (Auth::check()) @php $email = Auth::user()->email; $role = Auth::user()->role ?? 0; @endphp {{-- Admin/IT User Navigation --}} @if (in_array($email, ['it-ch@chcgroup.in', 'ssuresh@chcgroup.in']) || in_array($role, [1, 2]))
  • Dashboard
  • Create Users
  • Create Tickets
  • Manage Tickets
  • Reports
  • {{-- Sub-Employee Navigation --}} @elseif (in_array($role, [3]))
  • Assigned Tickets
  • My Tickets
  • {{-- Regular User Navigation --}} @else
  • Dashboard
  • Create Ticket
  • My Tickets
  • @endif {{-- Other Changes (Admin only) --}} @if (in_array($role, [1, 2]))
  • Settings
  • @endif @endif