@extends('user.layouts.index', ['header' => true, 'nav' => true, 'demo' => true, 'settings' => $settings]) @section('content')
| {{ __('#') }} | {{ __('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) {{ __('Actions') }} @else - @endif |