@if(!empty($logoBase64)) @endif
{{ $company['name'] ?? 'UNIVERSITY OF IBADAN' }}
{{ $company['address'] ?? 'IBADAN, OYO STATE' }}
STAFF PAYSLIP
For {{ $periodLabel ?? '' }}
Printed: {{ $printedAt ?? now()->format('d/m/Y H:i') }}
File: {{ $staff['pf_no'] ?? '' }}.pdf
STAFF INFORMATION
Staff Name {{ $staff['name'] ?? '' }} Staff Code {{ $staff['pf_no'] ?? '' }} Designation {{ $staff['designation'] ?? '' }}
Department/Unit {{ $staff['department'] ?? '' }} Faculty/Dept. {{ $staff['faculty'] ?? '' }} Salary Structure {{ $staff['salary_structure'] ?? '' }}
Grade / Step {{ $staff['grade_level'] ?? '' }} / {{ $staff['step'] ?? '' }} Bank {{ $staff['bank_name'] ?? '' }} Account No {{ $staff['account_number'] ?? '' }}
PFA {{ $staff['pfa_name'] ?? '' }} PIN No {{ $staff['pfa_pin'] ?? '' }} Status {{ $staff['status'] ?? 'Active' }}
EARNINGS AND DEDUCTIONS
@php $earningCount = count($earnings ?? []); $deductionCount = count($deductions ?? []); $lineCount = max($earningCount, $deductionCount); @endphp @for($i = 0; $i < $lineCount; $i++) @endfor
PAYMENT AMOUNT DEDUCTION AMOUNT
{{ $earnings[$i]['name'] ?? '' }} {{ isset($earnings[$i]['amount']) ? number_format((float)$earnings[$i]['amount'], 2) : '' }} {{ $deductions[$i]['name'] ?? '' }} {{ isset($deductions[$i]['amount']) ? number_format((float)$deductions[$i]['amount'], 2) : '' }}
Gross Pay {{ number_format((float)($summary['gross'] ?? 0), 2) }} Total Deduction {{ number_format((float)($summary['total_deductions'] ?? 0), 2) }}
Net Pay {{ number_format((float)($summary['net'] ?? 0), 2) }} Payroll Month {{ $periodLabel ?? '' }}