@extends('layouts.app') @section('title', 'Dashboard - Axis Max Life Admin') @section('header', 'Dashboard') @section('content')

Welcome, {{ Auth::user()->name }}!

Here's an overview of your photo upload portal.

Total Branches

{{ $stats['total_branches'] }}

Total Images

{{ $stats['total_images'] }}

{{ $stats['total_uploads_today'] }} uploaded today

Active Branches

{{ $stats['active_branches'] }}

{{ round(($stats['active_branches'] / max($stats['total_branches'], 1)) * 100, 1) }}% of total

Recent Uploads

Total: {{ $stats['total_images'] }} images Manage Branches
@forelse($recentUploads as $upload) @empty @endforelse
Branch Image Size Uploaded Actions
{{ substr($upload->branch->branch_code, -4) }}
{{ $upload->branch->branch_code }}
{{ $upload->branch->branch_name ?? 'N/A' }}
Branch Image
{{ Str::limit($upload->original_name, 20) }}
{{ round($upload->file_size / 1024, 2) }} KB
{{ $upload->created_at->format('d M Y') }}
{{ $upload->created_at->diffForHumans() }}
@csrf @method('DELETE')

No uploads yet

Images uploaded by branches will appear here

@if($recentUploads->count() > 0)
Showing {{ $recentUploads->count() }} most recent uploads View all branches
@endif
@endsection