@extends('adminlte::page') @section('title', 'Payslip '.$payslip->payslip_number) @section('content_header')
| Employee | {{ $payslip->employee->full_name }} |
|---|---|
| Code | {{ $payslip->employee->employee_code }} |
| Department | {{ $payslip->employee->department->name ?? 'Unassigned' }} |
| Position | {{ $payslip->employee->position->title ?? 'Unassigned' }} |
| Period | {{ $payslip->item->run->period->name ?? 'Unknown period' }} |
|---|---|
| Period Dates | @if($payslip->item->run->period) {{ $payslip->item->run->period->period_start->format('M d, Y') }} - {{ $payslip->item->run->period->period_end->format('M d, Y') }} @else - @endif |
| Generated | {{ $payslip->generated_at?->format('M d, Y H:i') }} |
| Run Status | {{ $payslip->item->run->status }} |
| Description | Type | Amount |
|---|---|---|
| Basic Salary | Earning | {{ number_format((float) $payslip->item->basic_salary, 2) }} |
| Allowances | ||
| {{ $line['label'] }} | {{ $line['type'] }} | {{ number_format((float) $line['amount'], 2) }} |
| Total Allowances | {{ number_format((float) $payslip->item->total_allowances, 2) }} | |
| Deductions | ||
| {{ $line['label'] }} | {{ $line['type'] }} | ({{ number_format((float) $line['amount'], 2) }}) |
| Total Deductions | ({{ number_format((float) $payslip->item->total_deductions, 2) }}) | |
| Employer Contributions | ||
| {{ $line['label'] }} | {{ $line['type'] }} | {{ number_format((float) $line['amount'], 2) }} |
| Gross Salary | {{ number_format((float) $payslip->item->gross_salary, 2) }} | |
| Net Salary | {{ number_format((float) $payslip->item->net_salary, 2) }} | |