Dashboard Dashboard @php $user = auth()->user(); $role = $user->roles->pluck('name')[0]; @endphp
@if ($role == 'Department' || $role == 'Super Admin')

INWARD

0

Inwards this Year

Outward

0

Outwards this Year

@endif
@if ($role == 'inward/outward' || $role == 'Super Admin')

ACKNOWLEGE

0

Acknowlege this Year

ACCEPT ACKNOWLEGE

0

Accept Acknowlege this Year

@endif