@extends('adminlte::page') @section('title', 'Payslip '.$payslip->payslip_number) @section('content_header')

Payslip

{{ $payslip->payslip_number }}
Download PDF Back
@stop @section('content') @if(session('success')) {{ session('success') }} @endif

{{ config('adminlte.title', config('app.name')) }}

Employee Payslip
{{ $payslip->payslip_number }}
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 }}
Basic
{{ number_format((float) $payslip->item->basic_salary, 2) }}
Gross
{{ number_format((float) $payslip->item->gross_salary, 2) }}
Deductions
{{ number_format((float) $payslip->item->total_deductions, 2) }}
Net Pay
{{ number_format((float) $payslip->item->net_salary, 2) }}
@foreach($breakdown['allowances'] as $line) @endforeach @foreach($breakdown['deductions'] as $line) @endforeach @foreach($breakdown['employer_contributions'] as $line) @endforeach
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) }}
Prepared By
Employee Signature
@stop @section('css') @stop