@extends('layouts.app')
@section('title', 'Payslip โ ' . $item->full_name . ' โ ' . ($item->run->month_label ?? ''))
@section('styles')
@endsection
@section('content')
{{-- Employee --}}
Employee Details
Name{{ $item->full_name }}
Employee No.{{ $item->employee_number }}
Department{{ $item->department ?? '-' }}
Designation{{ $item->designation ?? '-' }}
KRA PIN{{ $item->kra_pin }}
SHIF{{ $item->sha_number }}
NSSF{{ $item->nssf_number }}
Period{{ $item->run->period_from?->format('d M') }} โ {{ $item->run->period_to?->format('d M Y') }}
{{-- Earnings --}}
Earnings (KES)
Basic Salary{{ number_format($item->basic_salary, 2) }}
@if($item->taxable_allowances > 0)
Taxable Allowances{{ number_format($item->taxable_allowances, 2) }}
@endif
@if($item->non_taxable_allowances > 0)
Non-Taxable Allowances{{ number_format($item->non_taxable_allowances, 2) }}
@endif
@if($item->overtime > 0)
Overtime{{ number_format($item->overtime, 2) }}
@endif
@if($item->bonus > 0)
Bonus{{ number_format($item->bonus, 2) }}
@endif
@if($item->benefits_in_kind > 0)
Benefits in Kind{{ number_format($item->benefits_in_kind, 2) }}
@endif
Gross Pay{{ number_format($item->gross_pay, 2) }}
{{-- Statutory Deductions --}}
Statutory Deductions (KES)
PAYE (after KES {{ number_format($item->personal_relief) }} relief){{ number_format($item->paye, 2) }}
SHIF (2.75%){{ number_format($item->shif, 2) }}
NSSF (Employee 6%){{ number_format($item->nssf_employee, 2) }}
Affordable Housing Levy (1.5%){{ number_format($item->ahl_employee, 2) }}
{{-- Other Deductions --}}
@if($item->deductions->count() > 0 || $item->pension_contribution > 0)
Other Deductions (KES)
@if($item->pension_contribution > 0)
Pension Contribution{{ number_format($item->pension_contribution, 2) }}
@endif
@foreach($item->deductions as $d)
{{ $d->label }}{{ number_format($d->amount, 2) }}
@endforeach
@endif
{{-- Net Pay --}}
Total Deductions{{ number_format($item->total_deductions, 2) }}
NET PAYKES {{ number_format($item->net_pay, 2) }}
{{-- Employer Contributions (informational) --}}
Employer Contributions (Not Deducted from Employee)
NSSF Employer (6%){{ number_format($item->nssf_employer, 2) }}
AHL Employer (1.5%){{ number_format($item->ahl_employer, 2) }}
Total Employer Cost{{ number_format($item->employer_cost, 2) }}
{{-- Payment Info --}}
Payment Method{{ $item->payment_method ?? 'BANK' }}
@if($item->payment_method === 'mobile')
M-Pesa{{ $item->mobile_payment_number }}
@else
Bank{{ $item->bank_name }} ยท {{ $item->bank_account }}
@endif
Status{{ ucfirst($item->payment_status) }}
@if($item->payment_date)
Paid On{{ $item->payment_date->format('d M Y') }}
@endif
{{-- Signatures --}}
Prepared By
{{ $item->run->preparedBy->name ?? '_____________________' }}
{{ $item->run->created_at->format('d M Y H:i') }}
Approved By
{{ $item->run->approvedBy->name ?? '_____________________' }}
{{ $item->run->approved_at?->format('d M Y H:i') ?? 'Pending' }}
This is a system-generated payslip โ Clara Rosa Hospital Payroll System
@endsection