@php
$amountConfigs = $groupedConfigs['amount'] ?? collect();
// Sắp xếp theo thứ tự logic: từ nhỏ đến lớn
$lateFine5_15 = $amountConfigs->firstWhere('key', 'late_fine_5_15_minutes');
$lateFine15_30 = $amountConfigs->firstWhere('key', 'late_fine_15_30_minutes');
$lateFine30_plus = $amountConfigs->firstWhere('key', 'late_fine_30_plus_minutes');
$forgotPunch = $amountConfigs->firstWhere('key', 'forgot_punch_fine');
@endphp
{{-- Phạt đi muộn/về sớm từ 5-15 phút --}}
@if($lateFine5_15)
@endif
{{-- Phạt đi muộn/về sớm từ 15-30 phút --}}
@if($lateFine15_30)
@endif
{{-- Phạt đi muộn/về sớm từ 30 phút trở lên --}}
@if($lateFine30_plus)
@endif
{{-- Phạt quên chấm công --}}
@if($forgotPunch)
@endif