@extends('dashboard.doctor.layouts.master') @section('title', $patient->name) @section('toolbar')
{{ trans('clinic.patient_profile.other') }}: {{ $profile->medical_history['other'] }}
@endif @if(!empty($profile->surgical_history['had_surgery'] ?? false)){{ trans('clinic.patient_profile.surgical_history') }}: {{ $profile->surgical_history['type'] ?? '' }} — {{ $profile->surgical_history['hospital'] ?? '' }} ({{ $profile->surgical_history['date'] ?? '' }})
@endif @if($profile->allergy_type){{ trans('clinic.patient_profile.allergies') }}: {{ trans('clinic.patient_profile.allergy_types.'.$profile->allergy_type) }} — {{ $profile->allergy_substance }} ({{ trans('clinic.patient_profile.severities.'.$profile->allergy_severity) }})
@endif| {{ trans('doctor.schedule.date') }} | {{ trans('doctor.schedule.branch') }} | {{ trans('doctor.schedule.status') }} | {{ trans('clinic.common.actions') }} |
|---|---|---|---|
| {{ $booking->scheduled_at->format('Y-m-d H:i') }} | {{ $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') }} |