@extends('admin.layouts.master') @section('title', 'Academy Analytics & Dashboard') @push('styles') @endpush @section('content')

Academy Command Center

Total Revenue

₹{{ number_format($totalRevenue) }}

Total Bookings

{{ number_format($totalBookings) }}

Certificates Issued

{{ number_format($totalCertificates) }}

Active Batches

{{ $activeBatchesCount }}

{{ $studentsOnCampus }} Students Confirmed
Revenue & Enrollment Trends ({{ now()->year }})
Booking Sources
  • Website
    {{ $sourcePercentages['website'] }}% ({{ $sources['website'] }})
  • Mobile App
    {{ $sourcePercentages['app'] }}% ({{ $sources['app'] }})
  • Corporate/Agents
    {{ $sourcePercentages['corporate'] }}% ({{ $sources['corporate'] }})
  • Walk-in/Manual
    {{ $sourcePercentages['manual'] }}% ({{ $sources['manual'] }})
Payment Collection Status
Fully Paid
₹{{ number_format($financials['paid_amount']) }}
{{ $financials['paid_perc'] }}%
Partial (EMI Active)
₹{{ number_format($financials['partial_amount']) }}
{{ $financials['partial_perc'] }}%
Pending Dues
₹{{ number_format($financials['pending_amount']) }}
{{ $financials['pending_perc'] }}%
Document Verification Queue
{{ $pendingDocsCount }} Pending
@forelse($pendingDocs as $doc) @empty @endforelse
{{ $doc->student->name ?? 'Unknown' }}
{{ $doc->document_name }}
All documents are verified! 🎉
Upcoming Batches & Occupancy
View All
    @forelse($upcomingBatches as $batch)
  • {{ $batch->course->name ?? 'Course' }} {{ $batch->batch_code }}
    {{ $batch->start_date->format('d M, Y') }} @if ($batch->instructor)  |  {{ $batch->instructor->name }} @endif
    {{ $batch->booked_seats }} / {{ $batch->total_seats }}
  • @empty
  • No upcoming batches found.
  • @endforelse
Recent Booking Ledger
@forelse($recentBookings as $booking) @empty @endforelse
Booking ID & Date Student Details Course / Package Source Total Amount Payment Status
{{ $booking->booking_code }} {{ $booking->created_at->format('M d, h:i A') }}
{{ $booking->student->name ?? 'Unknown Student' }} INDoS: {{ $booking->student->indos_no ?? 'N/A' }}
{{ $booking->course->name ?? 'Package/Multiple' }} @if ($booking->courseBatch) {{ $booking->courseBatch->batch_code }} @endif
{{ $booking->source }}
₹{{ number_format($booking->total_amount) }} @if ($booking->payment_status === 'partial') ₹{{ number_format($booking->paid_amount) }} Paid @endif
{{ $booking->payment_status }}
No recent bookings found.
@endsection @push('scripts') @endpush