Employer's Name {{ $data['company']['name'] }}
WCF Reg. No. {{ $data['payrollSetup']->wcf_registration_number }}
Applicable month {{ date('M-y', strtotime($data['year'] . '-'. $data['month'] . '-01')) }}
@php $totalGrossSalary = 0; $totalContribution = 0; @endphp @foreach($data['userList'] as $key => $user) @php $totalContribution += $user['contribution'] ?? 0 @endphp @endforeach
S/N WCF Number Employee's Name Employee Gross Salary WCF Contribution
{{ ++$key }} {{ $user['user_details']['profiles']['wcf_number'] }} {{ $user['user_details']['full_name'] }} @php $totalGrossSalary += $user['gross_salary']; @endphp {{ number_format($user['gross_salary'], 2) }} {{ $user['contribution'] ? number_format($user['contribution'], 2) : '' }}
Total Gross Salary {{ number_format($totalGrossSalary, 2) }} {{ number_format($totalContribution, 2) }}