CONTRIBUTIONS FOR THE MONTH OF: {{ date('M-y', strtotime($data['year'] . '-' . $data['month'] . '-01')) }}
Name of Employer: {{ $data['company']['name'] }}
Employer's Registration Number: {{ $data['payrollSetup']->pension_registration_number }} P.O. BOX: {{ $data['company']['zip_code'] }} TEL: {{ $data['company']['mobile'] }}
Control Number:
@php $totalGrossSalary = 0; $totalEmployeeContribution = 0; $totalEmployerContribution = 0; $grandContribution = 0; @endphp @foreach($data['userList'] as $user) @php $totalContribution = 0; @endphp @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 @php $grandContribution += $totalContribution; @endphp @endforeach
S/N Employee Pension Number Full Name Gross Salary Members Contributions Employers Contribution Total Contribution
Rate Amount Rate Amount
{{ $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) }} {{ $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']) : '' }}{{ number_format($totalContribution, 2) }}
Total {{ number_format($totalGrossSalary, 2) }} {{ number_format($totalEmployeeContribution, 2) }} {{ number_format($totalEmployerContribution, 2) }} {{ number_format($grandContribution, 2) }}