updated notes with services and updated sample texts on views

This commit is contained in:
Kwesi Banson Jnr
2026-08-08 21:20:40 +00:00
parent fc89b9c068
commit cab4591777
7 changed files with 102 additions and 24 deletions

View File

@@ -347,6 +347,16 @@
<div class="list-group">
@forelse($show_notes as $note)
<div class="list-group-item p-3 mb-2 border rounded shadow-sm">
@php $noteServices = $note->service_names; @endphp
@if($noteServices->count() > 0)
<div class="d-flex flex-wrap gap-1 mb-2">
@foreach($noteServices as $serviceName)
<span class="badge bg-light text-primary border" style="font-size: 0.7rem;">
{{ $serviceName }}
</span>
@endforeach
</div>
@endif
<p class="mb-2 text-dark">{{ $note->notes_body }}</p>
<div class="d-flex justify-content-between align-items-center text-muted" style="font-size: 0.8rem;">
<span>