@php function menuActive($routePattern) { return request()->routeIs($routePattern) ? 'kt-menu-item-active kt-menu-item-here border-b-mono custom-menu-active' : ''; } function menuTextActive($routePattern) { return request()->routeIs($routePattern) ? 'text-mono font-medium' : ''; } @endphp {{-- Zone --}} @can('zone view')
Zone
@endcan {{-- Division --}} @can('division view')
Division
@endcan {{-- District --}} @can('district view')
District
@endcan {{-- Tehsil --}} @can('tehsil view')
Tehsil
@endcan {{-- Type of Lining --}} @can('Type of lining view')
Type of Lining
@endcan {{-- Type of Irrigation Source --}} @can('Irrigation source view')
Type of Irrigation Source
@endcan {{-- Watercourses --}} @can('watercouse view')
Watercourses
@endcan {{-- WST --}} @can('wst view')
WST
@endcan {{-- PLL --}} @can('pll view')
PLL
@endcan @can('import view')
Import
@endcan @canany(['user view', 'role view'])
User Manage
@can('role view')
Role
@endcan @can('user view')
User
@endcan
@endcanany @can('report view')
Report
@endcan