@extends('layouts.app') @section('title', 'Super Admin Dashboard') @section('content')
Centralized multi-store overview, warehouse inventory tracking, and supply chain governance.
| Store | Code | In-Store Stock Units | Actions |
|---|---|---|---|
|
{{ $inv->name }}
|
{{ $inv->code }} | {{ number_format($inv->unit_count) }} units | View Units |
| No units currently stocked in retail stores. Dispatch transfers from central warehouse. | |||
| Batch / Product | Expiry | Status |
|---|---|---|
|
{{ $batch->batch_number }}
{{ $batch->product->name ?? 'Unknown' }}
|
{{ $batch->expiry_date->format('Y-m-d') }}
@if($daysLeft <= 0)
Expired
@elseif($daysLeft <= 30)
{{ $daysLeft }}d remaining
@else
{{ $daysLeft }}d remaining
@endif
|
{{ $batch->status }} |
| No batches expiring within the next 90 days. | ||
| Transfer # | Source Location | Destination Store | Units | Status | Date Dispatched | Actions |
|---|---|---|---|---|---|---|
| {{ $tf->transfer_number }} | {{ $tf->source_name }} | {{ $tf->destination_name }} | {{ $tf->total_units_dispatched }} units | @if($tf->status === 'Received') Received @elseif($tf->status === 'In Transit' || $tf->status === 'Dispatched') In Transit @elseif($tf->status === 'Partially Received') Partially Received @elseif($tf->status === 'Draft') Draft @else {{ $tf->status }} @endif | {{ $tf->dispatched_at ? $tf->dispatched_at->format('Y-m-d H:i') : 'Pending' }} | Details |
| No stock transfers executed yet. | ||||||
| Timestamp | User | Action | Event Description | IP Address |
|---|---|---|---|---|
| {{ $log->created_at->format('Y-m-d H:i:s') }} | @if($log->user) {{ $log->user->name }} {{ $log->user->email }} @else System @endif | {{ $log->action }} | {{ $log->description }} | {{ $log->ip_address ?? '-' }} |
| No audit activity logged yet. | ||||