Show assessment template names on the ward board.
Deploy Ladill Care / deploy (push) Successful in 1m42s

Buttons and headers were uppercasing internal codes (PAIN_NRS), which looked like a broken label.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-20 16:49:42 +00:00
co-authored by Cursor
parent 6ab9caae27
commit 4c0dbc22d8
2 changed files with 5 additions and 3 deletions
@@ -26,7 +26,7 @@
<th class="px-4 py-3">Patient</th>
<th class="px-4 py-3">Latest vitals</th>
@foreach ($templates as $template)
<th class="px-4 py-3">{{ $template->code }}</th>
<th class="px-4 py-3">{{ $template->name }}</th>
@endforeach
<th class="px-4 py-3"></th>
</tr>
@@ -73,7 +73,7 @@
<form method="POST" action="{{ route('care.care-units.assessments.start', [$unit, $visit]) }}">
@csrf
<input type="hidden" name="template_code" value="{{ $template->code }}">
<button type="submit" class="rounded border border-slate-200 px-2 py-1 text-xs text-slate-700 hover:bg-slate-50">{{ strtoupper($template->code) }}</button>
<button type="submit" class="rounded border border-slate-200 px-2 py-1 text-xs text-slate-700 hover:bg-slate-50">{{ $template->name }}</button>
</form>
@endforeach
</div>