@include('patient_mangement.appointment.profile.edit_patient_modal')
{{-- tab layout: the visit's financial summary under the header (the single page has its own section) --}} @if (($appointment ?? null)?->id && !request()->boolean('embed') && !is_appointment_single_page() && str_starts_with((string) \Request::route()?->getName(), 'patient_management.appointment.') && auth()->user()->can('appointment-payment-summary-view'))
{{-- closed until the user opens it --}}
@include('patient_mangement.appointment.profile.financial_summary')
@endif {{-- a follow-up visit: the earlier visit's information; and the follow-up booking dialog --}} @unless (request()->boolean('embed')) @include('patient_mangement.appointment.profile.follow_up_card') @endunless @can('appointment-follow-up') @include('patient_mangement.appointment.follow_up_js') @endcan