@extends('layouts.portal') @section('title', __('time_slots.title') . ' โ€” ' . config('app.name')) @section('page_title', __('time_slots.title')) @section('page_subtitle', number_format($timeSlots->total()) . ' ยท ' . __('time_slots.title')) @section('page_actions') {{ __('time_slots.add_time_slot') }} @endsection @section('content') @if ($timeSlots->count() > 0)
@foreach ($timeSlots as $slot) @endforeach
{{ __('appointments.appointment_date') }} {{ __('appointments.appointment_time') }} {{ __('time_slots.consultation_type') }} {{ __('common.status') }}
is_available ? '' : 'disabled' }}> {{ $slot->formatted_date }} {{ $slot->formatted_start_time }} โ€“ {{ $slot->formatted_end_time }} {{ __('time_slots.' . $slot->type) }} @if ($slot->is_available) {{ __('time_slots.available') }} @else {{ __('time_slots.booked') }} @endif @if ($slot->is_available)
@csrf @method('DELETE')
@else โ€” @endif
{{ $timeSlots->links() }}
@else

{{ __('time_slots.no_slots_available') }}

{{ __('time_slots.add_available_hours') }}

{{ __('time_slots.add_first_slot') }}
@endif @endsection @push('scripts') @endpush