@extends('layouts.app') @section('title','Payslip') @section('page-title','Payroll') @section('content')
University of Liberia
Human Resource Department · Monrovia, Liberia
PAYSLIP
{{ $record->period->name }}
{{ \Carbon\Carbon::parse($record->period->start_date)->format('M j') }} — {{ \Carbon\Carbon::parse($record->period->end_date)->format('M j, Y') }}
Employee
{{ $record->employee->full_name }}
Employee No.
{{ $record->employee->employee_number }}
Position
{{ $record->employee->position }}
Department
{{ $record->employee->department->name ?? '—' }}
Earnings
Basic Salary${{ number_format($record->basic_salary,2) }}
@if($record->housing_allowance > 0)
Housing Allowance${{ number_format($record->housing_allowance,2) }}
@endif @if($record->transport_allowance > 0)
Transport Allowance${{ number_format($record->transport_allowance,2) }}
@endif @if($record->other_earnings > 0)
Other Earnings${{ number_format($record->other_earnings,2) }}
@endif
Gross Pay${{ number_format($record->gross_pay,2) }}
Deductions
Income Tax-${{ number_format($record->tax_deduction,2) }}
Pension-${{ number_format($record->pension_deduction,2) }}
@if($record->other_deductions > 0)
Other-${{ number_format($record->other_deductions,2) }}
@endif
Total Deductions-${{ number_format($record->total_deductions,2) }}
NET PAY (USD)
${{ number_format($record->net_pay,2) }}
@if($record->net_pay_lrd)
LRD EQUIVALENT
L${{ number_format($record->net_pay_lrd,2) }}
@endif
This is a computer-generated payslip. No signature required. · Payment Date: {{ \Carbon\Carbon::parse($record->period->payment_date)->format('F j, Y') }}
@push('styles') @endpush @endsection