laporan: tampilkan deskripsi pelanggaran di kolom jenis (web+PDF); TEST GUARD: blokir test bila DB bukan *_test (cegah RefreshDatabase menghancurkan produksi saat config ter-cache)

This commit is contained in:
Sari
2026-08-03 09:01:47 +07:00
parent b1662e6242
commit e18fe3deb2
3 changed files with 33 additions and 3 deletions
@@ -146,7 +146,12 @@
<td>{{ $v->student?->nisn }}</td>
<td>{{ $v->student?->full_name }}</td>
<td>{{ $v->student?->class?->name }}</td>
<td>{{ $v->violationType?->name }} ({{ $v->violationType?->category?->name ?? '-' }})</td>
<td>
<div>{{ $v->violationType?->name }} <span style="color:#666">({{ $v->violationType?->category?->name ?? '-' }})</span></div>
@if ($v->description)
<div style="font-size:7.5px; color:#555; margin-top:1px;">{{ $v->description }}</div>
@endif
</td>
<td class="center">{{ $v->points }}</td>
<td class="center"><span class="badge {{ $badge }}">{{ $status }}</span></td>
</tr>