@php $user = auth()->user(); $role = $user->roles->pluck('name')[0]; @endphp
  • Menu
  • @canany(['users.view', 'roles.view'])
  • Dashboard
  • Masters
    • Wards
    • Police Station
    • Traffic
    • Fire Station
    • Malmatta
    • Cidco
    • Rules and Regulations
    • Pandal Documents
    • Festival
  • {{-- @canany(['users.view', 'roles.view']) --}}
  • User Management
      @can('users.view')
    • Users
    • @endcan @can('roles.view')
    • Roles
    • @endcan
  • @endcan {{-- pandal menu start here --}} @canany(['pandal.create_form', 'pandal.upload_documents', 'pandal.check_application_status', 'pandal.download_permission_certificate', 'pandal.view_permission'])
  • Rules and Regulations
  • @if (App\Models\PandalFrom::where('user_id', auth()->user()->id)->doesntExist())
  • Pandal Permission Form
  • @endif @php $pandal = App\Models\PandalFrom::where('user_id', auth()->user()->id)->first(); @endphp @if (App\Models\PandalFrom::where('user_id', auth()->user()->id)->exists())
  • Upload Documents
  • @endif @php $pandal_d = App\Models\PandalFrom::where('user_id', auth()->user()->id) ->where('status_id', '>=', 1) ->first(); @endphp @if (App\Models\PandalFrom::where('user_id', auth()->user()->id)->where('status_id', '>=', 1)->exists())
  • Check Application Status
  • @endif @php $pandal_c = App\Models\PandalFrom::where('user_id', auth()->user()->id)->first(); @endphp @if ($pandal_c)
  • Download Permission Certificate
  • @endif @endcan {{-- pandal menu end here --}} @if ( $role == 'Ward' || $role == 'Police' || $role == 'Traffic' || $role == 'Fire' || $role == 'Cidco' || $role == 'Malmatta')
  • Dashboard
  • New Application List
  • @endif {{-- ward menu start here --}} @canany(['wards.ongoing_application_list'])
  • Ongoing Application List
  • @endcan {{-- ward menu end here --}} @if ( $role == 'Ward' || $role == 'Police' || $role == 'Traffic' || $role == 'Fire' || $role == 'Cidco' || $role == 'Malmatta')
  • Approve Application List
  • Reject Application List
  • @if ($role == 'Ward')
  • All Application List
  • @endif
  • Application Report
  • @endif