@if(count($details) > 0) @foreach ($details as $detail) @endforeach
Check Date Name Description Amount Department
{{ $detail['checkDate'] ?? 'N/A' }} {{ $detail['firstName'] ?? 'N/A' }} {{ $detail['middleName'] ?? '' }} {{ $detail['lastName'] ?? '' }} {{ $detail['deductionDesc'] ?? 'No description' }} {{ number_format($detail['deductionAmount'] ?? 0, 2) }} {{ $detail['deptName'] ?? 'N/A' }}
@else

No records available.

@endif