@extends('layouts.sash') @section('title', 'Dashboard') @section('content')
Today's Appointments

{{ $totalAppointmentsToday ?? 0 }}

Confirmed Today

{{ $confirmedToday ?? 0 }}

Completed Today

{{ $completedToday ?? 0 }}

Walk-Ins Waiting

{{ $walkInsWaiting ?? 0 }}

Upcoming Today

@if(isset($upcomingToday) && $upcomingToday->isNotEmpty())
    @foreach($upcomingToday as $apt)
  • {{ $apt->start_time ? \Carbon\Carbon::parse($apt->start_time)->format('g:i A') : '' }} – {{ $apt->customer?->display_name ?? 'N/A' }}
    {{ $apt->branch?->name }}
    {{ $apt->appointment_no }}
  • @endforeach
@else

No upcoming appointments.

@endif

Summary

  • Active Customers {{ $activeCustomers ?? 0 }}
  • Active Staff {{ $activeStaff ?? 0 }}
  • Active Services {{ $activeServices ?? 0 }}
  • Cancelled Today {{ $cancelledToday ?? 0 }}
@if(isset($recentCustomers) && $recentCustomers->isNotEmpty())

Recent Customers

@endif
@endsection