@if (!empty($rows))
@csrf
{{-- Summary widgets --}}
@foreach ($rows as $i => $r) @php $due = (float) $r['due']; $disabled = $due <= 0 ? 'disabled' : ''; @endphp @endforeach
Employee Department Designation Addition ({{ ucfirst($monthKey) }}) Deduction Net Paid Due Pay Now TrxID Note
{{ $r['emp']->employee_id }} — {{ $r['emp']->name }} {{ optional($r['emp']->department)->name }} {{ optional($r['emp']->designation)->name }} {{ $r['add'] ? number_format($r['add'], 2) : '-' }} {{ $r['ded'] ? number_format($r['ded'], 2) : '-' }} {{ number_format($r['net'], 2) }} {{ $r['paid'] ? number_format($r['paid'], 2) : '-' }} {{ number_format($due, 2) }}
@else
No employees with payable amount for the selected month.
@endif