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

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

Here is a summary of operational activity across your organization.

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.
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
Telecom & Client Operations
Active Clients & Networks
{{ $totalClients }} Clients
INTEGRATED NETWORKS
@forelse($activeNetworks as $network) {{ $network->name }} @empty No networks configured. @endforelse
RECENT CLIENTS
    @forelse($recentClients as $client)
  • {{ $client->name }} {{ $client->status ?? 'Active' }}
  • @empty
  • No clients found.
  • @endforelse
Provisioning Overview
ACTIVE SHORT CODES
@forelse($activeShortCodes as $code) *{{ $code->shortcode }}# @empty No active short codes. @endforelse
REGISTERED SENDER IDs
@forelse($activeSenderIds as $sender) {{ $sender->senderid }} @empty No sender IDs configured. @endforelse
@endsection