@extends('layouts.masterbeta') @section('title', 'Click ERP - Dashboard') @section('breadcrumbs') Main Dashboard @endsection @section('content')

Welcome back, {{ auth()->user()->name ?? 'Administrator' }}!

Core business and operational activity summary

{{ date('l, M d, Y') }}
MNO & Client Insights

{{ $activeClients }}

ACTIVE CLIENTS
{{ $clientActiveRate }}% of Total Base

{{ $activeNetworks }}

MOBILE NETWORKS
Operational Status: Healthy

{{ $activeShortCodes }}

PROVISIONED SHORT CODES
USSD | SMS | Voice

{{ $totalSenderIds }}

APPROVED SENDER IDs
Live traffic
Brief Summary: We are currently servicing {{ $activeClients }} active clients sending traffic through {{ $activeShortCodes }} USSD short codes and {{ $totalSenderIds }} SMS sender IDs across {{ $activeNetworks }} network operators.
Daily Quote : {{ $main_quote->quote }} by {{ $main_quote->author }} .
Internal Administration
ACTIVE STAFF

{{ $totalStaff }}

PENDING LEAVES

{{ $pendingLeaves }}

LEAVES THIS MONTH

{{ $activeLeavesThisMonth }}

ARCHIVED DOCS

{{ $totalDocuments }}

Pending Leave Approvals
View All
@forelse($recentPendingLeaves as $leave) @empty @endforelse
Staff Member Type Duration Action
{{ $leave->staff->name ?? 'Unknown' }}
{{ $leave->leave_type }} {{ $leave->start_date->format('M d') }} - {{ $leave->end_date->format('M d') }} Review
No pending leave requests.
Recently Uploaded Documents
View Archive
@forelse($recentDocuments as $doc) @empty @endforelse
{{ $doc->name }} {{ $doc->category ?? 'General' }} {{ $doc->created_at ? $doc->created_at->format('M d, Y') : 'N/A' }}
No documents archived yet.
Upcoming Birthdays
@forelse($upcomingBirthdays as $staff)
{{ $staff->name }}

{{ $staff->designation ?? 'Staff' }}

{{ $staff->dob ? date('M d', strtotime('2024-' . $staff->dob)) : '' }}
@empty
No upcoming birthdays.
@endforelse
@endsection