@if(session('success'))
{{ session('success') }}
@endif @if($currentPeriodRun)

Current period payroll already exists

{{ $currentPeriodRun->payroll_number }} covers {{ $currentPeriodRun->period_start->format('d M') }} to {{ $currentPeriodRun->period_end->format('d M Y') }} and is {{ str($currentPeriodRun->status)->headline() }}.

Open payroll
@endif
@csrf@if($errors->any())

{{ $errors->first() }}

@endif
@forelse($runs as $run)@empty@endforelse
PayrollPeriodEmployeesNet payStatus
{{ $run->payroll_number }}{{ $run->period_start->format('d M') }} - {{ $run->period_end->format('d M Y') }}{{ $run->payslips_count }}KES {{ number_format((float)$run->net_pay,2) }}Open
No payroll runs created.
@if($runs->hasPages())
{{ $runs->links() }}
@endif