@extends('layouts.app') @section('title', 'Branch Statistics - Axis Max Life Admin') @section('header', 'Branch Statistics') @section('content')
Total Branches
{{ $stats['total_branches'] }}
Total Images
{{ $stats['total_images'] }}
Active Branches
{{ $stats['branches_with_images'] }}
Completed (5/5)
{{ $stats['max_uploaded_branches'] }}
Upload Completion Rate
{{ round(($stats['total_images'] / ($stats['total_branches'] * 5)) * 100, 1) }}%
Average Images/Branch
{{ $stats['branches_with_images'] > 0 ? round($stats['total_images'] / $stats['branches_with_images'], 1) : 0 }}
per active branch
Empty Branches
{{ $stats['total_branches'] - $stats['branches_with_images'] }}
need attention
| Branch | Image | Size | Uploaded |
|---|---|---|---|
|
{{ substr($upload->branch->branch_code, -4) }}
{{ $upload->branch->branch_code }}
{{ $upload->branch->branch_name ?? 'N/A' }}
|
{{ Str::limit($upload->original_name, 25) }}
|
{{ round($upload->file_size / 1024, 2) }} KB |
{{ $upload->created_at->format('d M Y') }}
{{ $upload->created_at->diffForHumans() }}
|
|
No uploads yet Images uploaded by branches will appear here |
|||