@extends('layouts.app') @section('title','Dashboard') @section('content')
{{ now()->format('l, j F') }}

Good {{ now()->hour<12?'morning':'afternoon' }}, {{ explode(' ',auth()->user()->name)[0] }}.

+ New booking
Today’s revenueLKR {{ number_format($todayIncome,2) }}
This monthLKR {{ number_format($monthIncome,2) }}
Appointments today{{ $appointments->count() }}

Today’s schedule

View all
@forelse($appointments as $a)@empty@endforelse
TimeClientServiceStylistStatus
{{ $a->starts_at->format('g:i A') }}{{ $a->customer->name }}{{ $a->customer->mobile }}{{ $a->service->name }}{{ $a->stylist->name }}{{ str_replace('_',' ',$a->status) }}
A quiet chair—for now.

Revenue by stylist

@foreach($stylistIncome as $s)
{{ $s->name }}LKR {{ number_format($s->income,2) }}
@endforeach

Low stock

@forelse($lowStock as $p)
{{ $p->name }}{{ $p->stock_quantity }}
@empty

Stock levels look healthy.

@endforelse
@endsection