Manage inventory batches and monitor expiry dates
Total Batches
{{ number_format($stats['total_batches']) }}
Active Batches
{{ number_format($stats['active_batches']) }}
Expiring Soon
{{ number_format($stats['expiring_soon']) }}
Within 7 days
Expired
{{ number_format($stats['expired_batches']) }}
Needs action
| Batch | Item | Quantity | Expiry | Status | Actions |
|---|---|---|---|---|---|
|
{{ $batch->batch_number }}
{{ $batch->received_date->format('M d, Y') }}
|
{{ $batch->item->name ?? 'N/A' }}
{{ $batch->item->category->name ?? '' }}
|
{{ number_format($batch->remaining_quantity, 2) }} / {{ number_format($batch->quantity, 2) }}
{{ $batch->unit->abbreviation ?? '' }}
|
@if($batch->expiry_date)
{{ $batch->expiry_date->format('M d, Y') }}
{{ $batch->getExpiryStatusLabel() }}
@else
No expiry
@endif
|
{{ ucfirst($batch->status) }} |
@if($batch->status === 'active')
@endif
|
| No batches found | |||||