Show assessment template names on the ward board.
Deploy Ladill Care / deploy (push) Successful in 1m42s
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user