{{ $record->employee->agency->name }}
PAYROLL SLIP · {{ strtoupper($record->payrollPeriod->period_name) }}
Pay Date: {{ $record->payrollPeriod->pay_date ?? 'TBA' }}
Employee Name
{{ strtoupper($record->employee->full_name) }}
Employee Number
{{ $record->employee->employee_number }}
Position
{{ $record->employee->position_title }}
Office
{{ $record->employee->office->name }}
Salary Grade / Step
SG {{ $record->employee->salary_grade }} / Step {{ $record->employee->step_increment }}
Employment Status
{{ $record->employee->employment_status }}

Earnings

@php $earningsFields = [ 'Basic Pay' => $record->basic_pay, 'PERA' => $record->pera, 'AdCom' => $record->adcom, 'Representation Allowance' => $record->representation_allowance, 'Transportation Allowance' => $record->transportation_allowance, 'Clothing Allowance' => $record->clothing_allowance, 'Hazard Pay' => $record->hazard_pay, 'Subsistence Allowance' => $record->subsistence_allowance, 'Laundry Allowance' => $record->laundry_allowance, 'Longevity Pay' => $record->longevity_pay, 'Overtime Pay' => $record->overtime_pay, 'Night Differential' => $record->night_differential, 'Year-End Bonus' => $record->year_end_bonus, 'Cash Gift' => $record->cash_gift, '13th Month Pay' => $record->thirteenth_month_pay, 'Terminal Leave Pay' => $record->terminal_leave_pay, 'Other Earnings' => $record->other_earnings, ]; @endphp @foreach ($earningsFields as $label => $amount)
{{ $label }} {{ number_format($amount, 2) }}
@endforeach
GROSS PAY {{ number_format($record->gross_pay, 2) }}

Deductions

@php $deductionFields = [ 'GSIS Premium (9%)' => $record->gsis_premium, 'GSIS Loan' => $record->gsis_loan, 'GSIS Policy Loan' => $record->gsis_policy_loan, 'GSIS Emergency Loan' => $record->gsis_emergency_loan, 'GSIS Educational Loan' => $record->gsis_educational_loan, 'GSIS Housing Loan' => $record->gsis_housing_loan, 'PhilHealth' => $record->philhealth, 'Pag-IBIG' => $record->pagibig, 'Pag-IBIG Loan' => $record->pagibig_loan, 'Pag-IBIG Housing Loan' => $record->pagibig_housing_loan, 'Withholding Tax' => $record->withholding_tax, 'Tardiness/Undertime' => $record->tardiness_undertime, 'LWOP Deduction' => $record->lwop_deduction, 'Other Deductions' => $record->other_deductions, ]; @endphp @foreach ($deductionFields as $label => $amount)
{{ $label }} {{ number_format($amount, 2) }}
@endforeach
TOTAL DEDUCTIONS {{ number_format($record->total_deductions, 2) }}
NET PAY
₱{{ number_format($record->net_pay, 2) }}
{{ $record->bank_name ? $record->bank_name.' · '.$record->bank_account_number : 'Cash' }}
@foreach ([['Days Worked', $record->days_worked], ['Days Absent', $record->days_absent], ['On Leave', $record->days_on_leave], ['Mins Late', $record->minutes_late], ['OT Hours', $record->overtime_hours]] as [$lbl, $val])
{{ $val }}
{{ $lbl }}
@endforeach
{{ strtoupper($record->employee->full_name) }}
Employee
{{ strtoupper($record->employee->agency->head_name ?? '') }}
{{ $record->employee->agency->head_designation ?? 'Agency Head' }}