@extends('layouts.admin') @section('title', 'Dashboard') @section('content')
Total Users
{{ $totalUsers }}
Total Bookings
{{ $totalBookings }}
Total Revenue
Rp {{ number_format($totalRevenue, 0, ',', '.') }}
This Month Revenue
Rp {{ number_format($monthlyRevenue, 0, ',', '.') }}
Pending

{{ $pendingBookings }}

Confirmed

{{ $confirmedBookings }}

Completed

{{ $completedBookings }}

Cancelled

{{ $cancelledBookings }}

Bookings by Class
Bookings by Status
Recent Bookings
View All
@forelse($recentBookings as $booking) @empty @endforelse
Code User Class Status Date
{{ $booking->booking_code }} {{ $booking->user->name }} {{ ucfirst($booking->class) }} {{ ucfirst($booking->status) }} {{ $booking->created_at->format('d/m/Y') }}
No bookings yet
Recent Progress Updates
View All
@forelse($recentProgress as $progress) @empty @endforelse
Booking Status Location Updated
{{ $progress->booking->booking_code }} {{ ucfirst($progress->status) }} {{ $progress->location ?? '-' }} {{ $progress->updated_at_status->format('d/m/Y H:i') }}
No progress updates yet
@endsection @section('scripts') @endsection