@extends('layouts.app') @section('title', 'Staff Payroll') @section('styles') @endsection @section('content') @include('hr.partials.ft-staff-tabs', ['active' => 'payroll-runs']) {{-- Action Tabs (2) --}}
{{-- ═══════════ PAYROLL TAB (Overview + Runs + Generate merged) ═══════════ --}}| Run No. | Month | Status | Staff | Gross | PAYE | Net | Employer Cost | Prepared By | |
|---|---|---|---|---|---|---|---|---|---|
| {{ $r->run_number }} | {{ $r->month_label }}@if($r->is_revision) Revision@endif | {{ $r->status }} | {{ $r->employee_count }} | {{ number_format($r->total_gross) }} | {{ number_format($r->total_paye) }} | {{ number_format($r->total_net) }} | {{ number_format($r->total_employer_cost) }} | {{ $r->preparedBy->name ?? '-' }} | View → |
| No payroll runs yet. Use the form above to generate the first one. | |||||||||
| Employee No. | Name | Department | Designation | Basic Salary | Status | |
|---|---|---|---|---|---|---|
| {{ $s->employee_number }} | {{ $s->full_name }} | {{ $s->department->name ?? '-' }} | {{ $s->designation ?? '-' }} | {{ number_format($s->salary) }} | @if(empty($errs)) Payable @else Blocked @endif | View Profile Edit Profile → |