Deploy Ladill Care / deploy (push) Successful in 46s
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>
13 lines
527 B
PHP
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>
|