@php $isAdmin = auth()->user()->isAdmin() || auth()->user()->hasRole('Manager'); @endphp
Durable Assets Overview
@if($isAdmin) @elseif(in_array($userRole, ['Regional_Coordinator', 'County_Coordinator', 'Supervisor'])) @else @endif @foreach($durableAssets as $asset) @if($isAdmin) @elseif(in_array($userRole, ['Regional_Coordinator', 'County_Coordinator', 'Supervisor'])) @else @endif @endforeach
AssetTotal Assigned Distributed AvailableTotal Inventory Users with InventoryIn My Inventory Assigned to Me
{{ $asset->name }}{{ $asset->total_quantity }} {{ $asset->assigned_count }} {{ $asset->distributed_quantity ?? 0 }} {{ $asset->available_quantity }}{{ $asset->total_inventory }} {{ $asset->users_with_inventory }}{{ $asset->inventory_quantity }} {{ $asset->assigned_to_me }}