@extends('dashboard.doctor.layouts.master') @section('title', trans('doctor.nav.dashboard')) @section('toolbar')
| {{ trans('doctor.schedule.time') }} | {{ trans('doctor.patients.title') }} | {{ trans('doctor.schedule.branch') }} | {{ trans('doctor.schedule.status') }} | {{ trans('clinic.common.actions') }} |
|---|---|---|---|---|
| {{ $booking->scheduled_at->format('H:i') }} | {{ $booking->patient->name }} | {{ $booking->branch->name }} | @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') }} |