@extends('layouts.app')
@section('title', 'Admin Dashboard - UniformFlow')
@section('page-heading', 'Admin dashboard')
@section('content')
{{ now()->format('l, d F Y') }}
Operations at a glance.
Stock health, employee accountability, and handover performance in one place.
Inventory control
Stock health
{{ $stockHealth }}%
Healthy sizes At or below reorder level
Uniform types{{ $uniformTypes }}
Low stock{{ $lowStock->count() }}
Out of stock{{ $outOfStock->count() }}
This month
Movement summary
Uniforms issued{{ $issuedThisMonth }}
Exit handovers completed{{ $handoversThisMonth }}
Reusable returns{{ $handoverOutcomes['reusable'] ?? 0 }}
Damaged or not returned{{ ($handoverOutcomes['damaged'] ?? 0) + ($handoverOutcomes['not_returned'] ?? 0) }}
@forelse($lowStock->take(7) as $variant)
{{ strtoupper(substr($variant->item->name, 0, 2)) }}
{{ $variant->item->name }}Size {{ $variant->size }} / reorder at {{ $variant->reorder_level }}
{{ $variant->quantity }} available
@emptyAll size balances are above their reorder levels.
@endforelse
Employee welfare
Held over 12 months
{{ $replacementDue->count() }} due
@forelse($replacementDue as $issue)
{{ strtoupper(substr($issue->employee->name, 0, 1)) }}
{{ $issue->employee->name }}{{ $issue->variant->item->name }} / {{ $issue->variant->size }} / issued {{ $issue->issued_at->format('d M Y') }}
Review
@emptyNo employee-held uniforms are over 12 months old.
@endforelse