| Employee Name | {{ $item->employee->name }} | Designation | {{ $item->employee->employeeProfile?->job_title ?? '-' }} |
| Department | {{ $item->employee->employeeProfile?->departmentRel?->name ?? '-' }} | Payroll Month | {{ $item->payroll->month->format('F Y') }} |
| Component | Amount |
|---|---|
| {{ $earning['name'] }} @if($earning['type'] === 'percentage')({{ $earning['value'] }}%)@endif | {{ number_format($earning['amount'], 2) }} |
| Total Earnings | {{ number_format($item->total_earnings, 2) }} |
| Component | Amount |
|---|---|
| {{ $deduction['name'] }} @if($deduction['type'] === 'percentage')({{ $deduction['value'] }}%)@endif | {{ number_format($deduction['amount'], 2) }} |
| Total Deductions | {{ number_format($item->total_deductions, 2) }} |
| Gross Salary | {{ number_format($item->gross_salary, 2) }} |
| Total Earnings | {{ number_format($item->total_earnings, 2) }} |
| Total Deductions | - {{ number_format($item->total_deductions, 2) }} |
| Net Salary | {{ number_format($item->net_salary, 2) }} |