@extends('layouts.school') @section('title', 'New Payroll Run') @section('header', 'New Payroll Run') @section('content')
@csrf @if ($errors->has('period'))
{{ $errors->first('period') }}
@endif
@error('period_start')

{{ $message }}

@enderror
@error('period_end')

{{ $message }}

@enderror

Include active profiles ({{ $profiles->count() }})

@if ($profiles->isNotEmpty())
@foreach ($profiles as $profile) @endforeach

Leave all unchecked to include every active profile.

@else

No active payroll profiles yet. Add them under Payroll Profiles first.

@endif
Cancel
@endsection