Payroll month-wise gross, net, paid & due summary
| Payroll Month | Employees | Gross | OT | Advance | Net | Paid | Due | Status |
|---|---|---|---|---|---|---|---|---|
| {{ sprintf('%02d', $payroll->payroll_month) }}-{{ $payroll->payroll_year }} | @if($employeeNames->count()) {{ $employeeNames->implode(', ') }} @else N/A @endif | {{ number_format((float) $stats['gross'], 2) }} | {{ number_format((float) $stats['ot'], 2) }} | {{ number_format((float) $stats['advance'], 2) }} | {{ number_format((float) $stats['net'], 2) }} | {{ number_format((float) $stats['paid'], 2) }} | {{ number_format((float) $stats['due'], 2) }} | {{ ucwords(str_replace('_', ' ', $payroll->status)) }} |
| No payroll found. | ||||||||
| Total | {{ number_format($totalGross, 2) }} | {{ number_format($totalOt, 2) }} | {{ number_format($totalAdvance, 2) }} | {{ number_format($totalNet, 2) }} | {{ number_format($totalPaid, 2) }} | {{ number_format($totalDue, 2) }} | ||