@extends('backendPartials.default') @section('home_bar', 'current') @section('section')

{{ $new_queries }}

New Queries

-

{{ $total_visitors }}

Total Visitors

-

{{ $total_appointments }}

Total Appointments

-

{{ $todayAppointmentsCount }}

{{--

Total {{date('F')}} Visitors

--}}

Today Appointments

{{-- @if ($previos_month_visitors > $current_month_visitors) @else @endif --}} {{-- {{ $average_month_visitor }}% --}}

Latest Appointments

@foreach ($recentFiveAppointments as $appointment) @if ($appointment->status == 'scheduled') @else @endif @endforeach
# Person Name Email Phone No Appointment Date Status Actions
{{ $appointment->id }} {{ $appointment->name ?? 'Unknown' }} {{ $appointment->email ?? 'No Email' }} {{ $appointment->phone ?? 'No phone' }} {{ $appointment->appointment_date ?? 'No Date' }} ⏳ Pending ✅ Done
@csrf
Email {{-- Edit --}} {{-- @method('DELETE') --}} Delete

Latest Contact Us

@foreach ($latestContactUs as $c) @endforeach
# Date Ticket # Name Email Phone Message Action
@if ($c->is_read != 1) @endif {{ $loop->iteration }} {{ $c->created_at }} {{ $c->ticket_id }} {{ $c->name }} {{ $c->email }} {{ $c->phone }} {{ $c->message }}
@endsection @section('jsOutside') @endsection