@extends('user.layouts.index', ['header' => true, 'nav' => true, 'demo' => true, 'settings' => $settings]) @section('content')
{{-- Failed --}} @if (Session::has('failed')) @endif {{-- Success --}} @if (Session::has('success')) @endif
{{-- Appointments --}} @foreach ($bookedAppointments as $appointment) @endforeach
{{ __('#') }} {{ __('Created') }} {{ __('Customer Name') }} {{ __('Customer Email') }} {{ __('Customer Phone') }} {{ __('Appointment Date') }} {{ __('Appointment Time') }} {{ __('Notes') }} {{ __('Status') }} {{ __('Actions') }}
{{ $loop->iteration }} {{ $appointment->created_at->diffForHumans() }} {{ $appointment->name }} {{ $appointment->email }} {{ $appointment->phone }} {{ $appointment->booking_date }} {{ $appointment->booking_time }} {{ $appointment->notes ?? '-' }} @if ($appointment->booking_status == 0) {{ __('Pending') }} @endif @if ($appointment->booking_status == 1) {{ __('Confirmed') }} @endif @if ($appointment->booking_status == 2) {{ __('Completed') }} @endif @if ($appointment->booking_status == -1) {{ __('Canceled') }} @endif @if ($appointment->booking_status != 2) @else - @endif
@include('user.includes.footer')
{{-- Accept or cancel appointment --}} {{-- Complete appointment --}} {{-- Reschedule appointment modal --}} {{-- Add my google calendar --}} {{-- Custom JS --}} @section('scripts')