@php $palette = $themePalette ?? (is_array($theme ?? null) ? $theme : \App\Support\ThemePalette::resolveShades('emerald')); @endphp
|
${{ number_format($kpis['total_payroll'] ?? 0, 2) }}
Total Net Disbursed
|
${{ number_format($kpis['paid_amount'] ?? 0, 2) }}
Settled / Paid Amount
|
${{ number_format($kpis['pending_amount'] ?? 0, 2) }}
Pending Settlement
|
{{ $kpis['employee_count'] ?? count($rows) }}
Total Employees
|
| # | Employee Name | Designation & Dept | Base Salary | Earnings | Deductions | Net Salary | Status | Payment Date |
|---|---|---|---|---|---|---|---|---|
| {{ $idx + 1 }} | {{ $r['name'] }} | {{ $r['designation'] ?? '—' }} {{ $r['department'] ?? '—' }} |
${{ number_format($r['base_salary'], 2) }} | +${{ number_format($r['total_earnings'], 2) }} | -${{ number_format($r['total_deductions'], 2) }} | ${{ number_format($r['net_salary'], 2) }} | {{ $r['status'] }} | {{ $r['payment_date'] ?? '—' }} |
| No salary payroll records generated for this month. | ||||||||
| Total Payroll Disbursement: | ${{ number_format(collect($rows)->sum('base_salary'), 2) }} | +${{ number_format(collect($rows)->sum('total_earnings'), 2) }} | -${{ number_format(collect($rows)->sum('total_deductions'), 2) }} | ${{ number_format(collect($rows)->sum('net_salary'), 2) }} | ||||
| Accountant | Internal Auditor | Headmaster / Principal |