@section('page-title', 'Social Funds Report')

{{ __('Social Funds Report') }}

{{ __('NSSF and WCF totals for payroll items') }}

← {{ __('Back to Reports') }}

{{ __('Total NSSF (Employee)') }}

{{ number_format($totalNSSFEmployee, 2) }}

{{ __('Total NSSF (Employer)') }}

{{ number_format($totalNSSFEmployer, 2) }}

{{ __('Total WCF (0.5%)') }}

{{ number_format($totalWCF, 2) }}

{{ $items->count() }} {{ __('payroll items') }}

@foreach($items as $it) @php $wcf = (float)$it->gross * 0.005; $b = $it->breakdown ?? []; @endphp @endforeach
{{ __('Employee') }} {{ __('Gross') }} {{ __('NSSF (Employee)') }} {{ __('NSSF (Employer)') }} {{ __('WCF (0.5%)') }} {{ __('Month') }} {{ __('Year') }}
{{ $it->employee->first_name ?? '' }} {{ $it->employee->last_name ?? '' }} {{ number_format($it->gross, 2) }} {{ number_format($it->nssf_employee ?? ($b['nssf_employee'] ?? 0), 2) }} {{ number_format($it->nssf_employer ?? ($b['nssf_employer'] ?? 0), 2) }} {{ number_format($wcf, 2) }} {{ $it->payrollSummary ? date('F', mktime(0,0,0,$it->payrollSummary->month,1)) : 'N/A' }} {{ $it->payrollSummary->year ?? 'N/A' }}