@extends('layouts.app') @section('title', 'Payroll Run') @section('content')
| Staff | Base | Allowances | Deductions | Net Pay | Status | |
|---|---|---|---|---|---|---|
| {{ $p->user->name }} | {{ number_format($p->base_salary,2) }} | {{ number_format($p->allowances,2) }} | {{ number_format($p->deductions,2) }} | {{ number_format($p->net_pay,2) }} | {{ ucfirst($p->status) }} | @if ($payrollRun->status !== 'paid') @endif |
| Total | {{ number_format($payrollRun->total_amount,2) }} | |||||