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

Payroll management

Payroll data is restricted. Confirm statutory PAYE, pension, NHF, tax and employment rules with authorised payroll professionals before use. This module records manually entered gross pay and deductions; it does not calculate statutory deductions.
Create draft payroll period
@csrf
Staff payroll entry
Payroll periods
@forelse($periods as $p)@empty@endforelse
PeriodDatesStatusEntries / net totalActions
{{ $p->period_code }}{{ $p->period_start }} – {{ $p->period_end }}{{ $p->status }}{{ DB::table('payroll_entries')->where('payroll_period_id',$p->id)->count() }} staff / ₦{{ number_format(DB::table('payroll_entries')->where('payroll_period_id',$p->id)->sum('net_pay'),2) }}@if($p->status==='draft' && auth()->user()->hasRole(['super_administrator','lcda_administrator']))
@csrf
@elseif($p->status==='approved')
@csrf
@else—@endif
No payroll periods.
@endsection