@extends('layouts.app') @section('title', 'Staff Salaries') @section('content')

Staff Salaries

Payroll Runs
@foreach ($users as $u) @endforeach
StaffCurrent Base SalaryAllowancesSinceUpdate
{{ $u->name }} {{ $u->currentSalary ? number_format($u->currentSalary->base_salary,2) : '-' }} {{ $u->currentSalary ? number_format($u->currentSalary->allowances,2) : '-' }} {{ $u->currentSalary?->effective_from?->format('d M Y') ?? '-' }}
@csrf
@endsection