@extends('layouts.app') @section('title', 'PPE Management Dashboard') @section('content')

PPE Management Dashboard

Track and manage Personal Protective Equipment

Total Items

{{ $stats['total_items'] }}

Low Stock Items

{{ $stats['low_stock_items'] }}

Active Issuances

{{ $stats['active_issuances'] }}

Expiring Soon

{{ $stats['expiring_soon'] }}

Expired Issuances

{{ $stats['expired_issuances'] }}

Overdue Inspections

{{ $stats['overdue_inspections'] }}

Non-Compliant

{{ $stats['non_compliant'] }}

Total Suppliers

{{ $stats['total_suppliers'] }}

Low Stock Items

@if($lowStockItems->count() > 0)
@foreach($lowStockItems as $item)

{{ $item->name }}

{{ $item->category }}

{{ $item->available_quantity }} / {{ $item->minimum_stock_level }}

Available / Min

@endforeach
@else

No low stock items

@endif

Expiring Soon

@if($expiringSoon->count() > 0)
@foreach($expiringSoon as $issuance)

{{ $issuance->ppeItem->name }}

{{ $issuance->issuedTo->name }}

{{ $issuance->replacement_due_date->format('M d, Y') }}

Due Date

@endforeach
@else

No items expiring soon

@endif

Monthly Issuances

Items by Category

Recent Issuances

View All
@if($recentIssuances->count() > 0)
@foreach($recentIssuances as $issuance)

{{ $issuance->ppeItem->name }}

{{ $issuance->issuedTo->name }} • {{ $issuance->issue_date->format('M d, Y') }}

{{ ucfirst($issuance->status) }}
@endforeach
@else

No recent issuances

@endif

Recent Inspections

View All
@if($recentInspections->count() > 0)
@foreach($recentInspections as $inspection)

{{ $inspection->ppeItem->name }}

{{ $inspection->inspection_date->format('M d, Y') }} • {{ ucfirst($inspection->condition) }}

{{ $inspection->is_compliant ? 'Compliant' : 'Non-Compliant' }}
@endforeach
@else

No recent inspections

@endif
@endsection