Files
ladill-care/resources/views/care/prescriptions/create.blade.php
T
isaaccladandCursor 40325144bb
Deploy Ladill Care / deploy (push) Successful in 46s
Open Prescribe from consultation as a modal/bottomsheet.
Reuse the shared prescription form in x-modal so desktop gets a popup and mobile gets the existing bottomsheet behavior, then return to the consultation after create.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-18 14:58:58 +00:00

13 lines
527 B
PHP

<x-app-layout :title="'Prescription · '.$consultation->patient->fullName()">
<x-care.consultation-return :consultation="$consultation" />
<h1 class="text-xl font-semibold text-slate-900">New prescription</h1>
<p class="mt-1 text-sm text-slate-500">{{ $consultation->patient->fullName() }} ({{ $consultation->patient->patient_number }})</p>
@include('care.prescriptions.partials.form', [
'consultation' => $consultation,
'routes' => $routes,
'compact' => false,
])
</x-app-layout>