{{ $company['company_name'] ?? 'NexaHR' }}
{{ $company['address'] ?? '' }}
SALARY PAYSLIP
{{ \Carbon\Carbon::parse($record->pay_period.'-01')->format('F Y') }}
Employee Name
{{ $record->employee->full_name ?? '—' }}
Employee ID
{{ $record->employee->employee_id ?? '—' }}
Department
{{ $record->employee->department->name ?? '—' }}
Designation
{{ $record->employee->position ?? '—' }}
Earnings
@if($record->bonus > 0) @endif
Basic Salary${{ number_format($record->basic_salary,2) }}
House Allowance${{ number_format($record->house_allowance,2) }}
Transport Allowance${{ number_format($record->transport_allowance,2) }}
Medical Allowance${{ number_format($record->medical_allowance,2) }}
Overtime Pay${{ number_format($record->overtime_pay,2) }}
Bonus${{ number_format($record->bonus,2) }}
Gross Salary${{ number_format($record->gross_salary,2) }}
Deductions
@if($record->other_deductions > 0) @endif
Income Tax ({{ number_format($record->income_tax / $record->gross_salary * 100, 1) }}%)-${{ number_format($record->income_tax,2) }}
Provident Fund-${{ number_format($record->provident_fund,2) }}
Health Insurance-${{ number_format($record->health_insurance,2) }}
Absent Deduction-${{ number_format($record->absent_deduction,2) }}
Other Deductions-${{ number_format($record->other_deductions,2) }}
Total Deductions-${{ number_format($record->total_deductions,2) }}
NET PAY
${{ number_format($record->net_salary,2) }}
Days Worked: {{ $record->present_days }}/{{ $record->working_days }} Absent Days: {{ $record->absent_days }} Overtime Hours: {{ $record->overtime_hours }}h Payment Method: {{ ucwords(str_replace('_',' ',$record->payment_method)) }} Status: {{ ucfirst($record->status) }}