Improve specialty workspace actions and Call next handoff.
Deploy Ladill Care / deploy (push) Successful in 40s
Deploy Ladill Care / deploy (push) Successful in 40s
Move timeline into a workspace tab, surface Complete consultation and Call again in Actions, and make Call next end the current encounter then open the next called patient. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
$btnPrimary = $btn.' bg-indigo-600 text-white hover:bg-indigo-700';
|
||||
$btnSecondary = $btn.' border border-slate-200 bg-white text-slate-800 hover:bg-slate-50';
|
||||
$btnAccent = $btn.' border border-sky-200 bg-sky-50 text-sky-900 hover:bg-sky-100';
|
||||
$appointment = $consultation->appointment;
|
||||
$ticketCalled = $appointment && $appointment->queue_ticket_status === 'called';
|
||||
@endphp
|
||||
|
||||
@include('care.partials.queue-ops', [
|
||||
@@ -12,8 +14,16 @@
|
||||
'queueCallNextRoute' => 'care.queue.call-next',
|
||||
'queueCallNextParams' => [],
|
||||
'branchId' => $queueBranchId ?? null,
|
||||
'currentAppointmentId' => $appointment?->id,
|
||||
])
|
||||
|
||||
@if ($ticketCalled && $appointment)
|
||||
<form method="POST" action="{{ route('care.queue.recall', $appointment) }}" class="w-full" @click.stop>
|
||||
@csrf
|
||||
<button type="submit" class="{{ $btnAccent }}">Call again</button>
|
||||
</form>
|
||||
@endif
|
||||
|
||||
@if ($canManage && ! $isCompleted)
|
||||
<button
|
||||
type="button"
|
||||
|
||||
Reference in New Issue
Block a user