{{ __('Today Appointment') }}

{{ count($today_appointment)}}

{{ __('New Appointment') }}

{{ $new_appointment ?? 0 }}

{{ __('Successful Appointment') }}

{{ $success_appointment ?? 0 }}

{{ __('Earnings') }} ({{ __('Total') }})

{{ currency($totalEarning) }}
@use('Carbon\Carbon', 'Carbon')
{{ __('Earnings In') }} {{ request()->has('year') && request()->has('month') ? Carbon::createFromFormat('Y-m', request('year') . '-' . request('month'))->format('F, Y') : date('F, Y') }}

{{ __('Today Appointment') }}

@forelse ($today_appointment as $index => $appointment) @empty @endforelse
{{ __('SN') }} {{ __('Email') }} {{ __('Date') }} {{ __('Phone') }} {{ __('Schedule') }} {{ __('Payment') }} {{ __('Action') }}
{{ ++$index }} {{$appointment?->user?->email}} {{formattedDate($appointment?->date)}} {{$appointment?->user?->details?->phone}} {{strtoupper($appointment?->schedule?->start_time) . '-' . strtoupper($appointment?->schedule?->end_time)}} @if ($appointment->payment_status == 0) {{ __('Pending') }} @else {{ __('Success') }} @endif