@extends('layouts.admin') @section('title', 'Payslip') @section('content') @php $currency = \App\Models\Hotel::query()->value('currency') ?? 'USD'; @endphp Back to Runs
{{ $payslip->full_name }}
{{ $payslip->employee_number }} · {{ $payslip->job_title ?? '—' }}
{{ $payslip->period_name }}
{{ \Carbon\Carbon::parse($payslip->start_date)->format('M j') }} – {{ \Carbon\Carbon::parse($payslip->end_date)->format('M j, Y') }}
Pay date: {{ $payslip->pay_date ? \Carbon\Carbon::parse($payslip->pay_date)->format('M j, Y') : '—' }}
Basic Salary{{ $currency }} {{ number_format($payslip->basic_salary, 2) }}
Allowances{{ $currency }} {{ number_format($payslip->allowances, 2) }}
Overtime{{ $currency }} {{ number_format($payslip->overtime, 2) }}
Bonuses{{ $currency }} {{ number_format($payslip->bonuses, 2) }}
Deductions- {{ $currency }} {{ number_format($payslip->deductions + $payslip->statutory_deductions, 2) }}
Net Pay{{ $currency }} {{ number_format($payslip->net_pay, 2) }}

Status:

@endsection