{{ $loop->iteration }} |
{{
(isset($user['user_details']) && isset($user['user_details']['profiles'])
&& !is_null($user['user_details']['profiles']['employee_pension_number']))
? $user['user_details']['profiles']['employee_pension_number'] : ''
}}
|
{{ $user['user_details']['full_name'] }} |
@php
$totalGrossSalary += $user['gross_salary'];
@endphp
{{ number_format($user['gross_salary'], 2) }}
|
@php
@endphp
@php
$totalContribution += $user['employee_deduction_amount'] ?? 0;
$totalContribution += $user['employer_contribution_amount'] ?? 0;
$totalEmployeeContribution += $user['employee_deduction_amount'] ?? 0;
$totalEmployerContribution += $user['employer_contribution_amount'] ?? 0;
@endphp
{{ $user['employee_deduction_percentage'] }}% |
{{ $user['employee_deduction_amount'] ? number_format($user['employee_deduction_amount']) : '' }} |
{{ $user['employer_contribution_percentage'] }}% |
{{ $user['employer_contribution_amount'] ? number_format($user['employer_contribution_amount']) : '' }} |
@php
$grandContribution += $totalContribution;
@endphp
{{ number_format($totalContribution, 2) }} |
@endforeach
|
Total |
|
{{ number_format($totalGrossSalary, 2) }} |
|
{{ number_format($totalEmployeeContribution, 2) }} |
|
{{ number_format($totalEmployerContribution, 2) }} |
{{ number_format($grandContribution, 2) }} |