@extends('layouts.app') @section('title', 'Payslip') @section('header', 'Payslip') @section('subheader', $payroll->period_label) @section('header-actions') @can('update', $payroll) @if ($payroll->status !== \App\Models\Payroll::STATUS_PAID)
@endif @endcan @endsection @section('content')Payslip — {{ $payroll->period_label }}
| Basic Salary | {{ number_format((float) $payroll->basic_salary, 2) }} |
| Allowances | {{ number_format((float) $payroll->allowances, 2) }} |
| Gross Salary | {{ number_format((float) $payroll->gross_salary, 2) }} |
| Tax | − {{ number_format((float) $payroll->tax, 2) }} |
| Other Deductions | − {{ number_format((float) $payroll->deductions, 2) }} |
| Net Salary | {{ number_format((float) $payroll->net_salary, 2) }} |
Notes: {{ $payroll->notes }}
@endif