@extends('layouts.app') @section('title', 'My Availability Schedule') @section('content')

My Availability Schedule

Back
@if(session('success'))
{{ session('success') }}
@endif

Add Availability Slot

@csrf

Current Schedule

@forelse($availabilities as $availability) @empty @endforelse
Day Start Time End Time Status Actions
{{ $availability->day_of_week }} {{ date('H:i', strtotime($availability->start_time)) }} {{ date('H:i', strtotime($availability->end_time)) }} @if($availability->is_available) Available @else Unavailable @endif
@csrf @method('DELETE')

No availability schedule set. Add your available times above.

@if($availabilities->count() > 0)

Note: Your availability schedule is visible to pharmacists when they book appointments. Make sure to keep it updated.

@endif
@endsection