{{-- Division --}} @can('division view')
Division
@endcan {{-- District --}} @can('district view')
District
@endcan {{-- Tehsil --}} @can('tehsil view')
Tehsil
@endcan {{-- Component A --}} @php $componentAPermissions = [ 'water pond view', 'check dam view', 'water reservoir view', 'stream bank stabilization view', 'gated field inlet view', 'terracing view', 'micro watershed development view', 'water seepage harvesting galleries view', 'agronomic low cost interventions view' ]; @endphp @if(auth()->user()->hasAnyPermission($componentAPermissions))
Soil & W. Conservation
@can('water pond view')
Water Pond
@endcan @can('check dam view')
Check Dam
@endcan @can('water reservoir view')
Water Reservoir
@endcan @can('stream bank stabilization view')
Stream Bank Stabilization
@endcan @can('gated field inlet view')
Gated Field Inlet / Outlet Spillway
@endcan @can('terracing view')
Terracing
@endcan @can('micro watershed development view')
Micro Watershed Development
@endcan @can('water seepage harvesting galleries view')
Water Seepage Harvesting Galleries
@endcan @can('agronomic low cost interventions view')
Agronomic Low Cost Interventions
@endcan
@endif {{-- Component B --}} @php $componentBPermissions = [ 'installation of tube wells view', 'solarization of agricultural tube wells view' ]; @endphp @if(auth()->user()->hasAnyPermission($componentBPermissions))
Dept. Agri. Engineering
@can('installation of tube wells view')
Installation of Tube Wells
@endcan @can('solarization of agricultural tube wells view')
Solarization of Agricultural Tube Wells
@endcan
@endif {{-- User Manage --}} @php $userManagePermissions = ['user view', 'role view']; @endphp @if(auth()->user()->hasAnyPermission($userManagePermissions))
User Management
@can('role view')
Role
@endcan @can('user view')
User
@endcan
@endif {{-- Import --}} @can('import data')
Import
@endcan @can('report view')
Reports
@endcan