@extends('dashboard.doctor.layouts.master') @section('title', trans('doctor.nav.schedule')) @section('toolbar')

{{ trans('doctor.nav.schedule') }}

@endsection @section('content')
@if($bookings->isEmpty())
{{ trans('doctor.schedule.empty') }}
@else
@foreach($bookings as $booking) @endforeach
{{ trans('doctor.schedule.time') }} {{ trans('doctor.patients.title') }} {{ trans('doctor.schedule.branch') }} {{ trans('doctor.schedule.type') }} {{ trans('doctor.schedule.status') }} {{ trans('clinic.common.actions') }}
{{ $booking->scheduled_at->format('H:i') }} {{ $booking->patient->name }} {{ $booking->branch->name }} {{ trans('doctor.schedule.types.'.$booking->type) }} @php $statusBadge = match($booking->status) { 'pending' => 'warning', 'confirmed' => 'success', 'completed' => 'info', 'cancelled' => 'danger', default => 'secondary', }; @endphp {{ trans('doctor.schedule.statuses.'.$booking->status) }} {{ trans('doctor.visits.open') }}
@endif
@endsection