@php use Carbon\Carbon; @endphp @php use Illuminate\Support\Facades\App; @endphp

{{ __('Online/Direct') }}

@error('is_online') {{ $message }} @enderror

{{ __('Choose Booking Date') }}

@php $current = Carbon::now(); @endphp {{-- @error('user_object_booking') {{__('The user booking date field is required.')}} @enderror --}}

{{ __('Choose Doctor') }}

{{-- @error('object_id') {{__('The doctor field is required.')}} @enderror --}}
@if ($arrayFilter)
@if ($this->date >= $dt->toDateString()) @foreach ($arrayFilter as $index => $slot)
@if ($slot[3] === '') @if ($dt->toDateString() == $this->date && $dt->toTimeString() >= date('H:i:s', strtotime($slot[1])))
@else
@endif @elseif($slot[3] === 'dis')
@endif
@endforeach @else
{{ __('The appointment is expired') }}
@endif
@error('slotTime') {{ $message }} @enderror
@elseif($flag == true)
{{ __('This doctor is not available on this day') }}
@endif
@if ($createFlag) @else @endif