@extends('layouts.app') @section('title', 'Create Attendance Rule') @section('page-title', 'Create Attendance Rule') @section('content') Create a new attendance rule for school timings, late attendance and attendance processing. Back
@csrf
{{-- ============================================================ Header ============================================================ --}}

Attendance Rule Information

Configure school timings, attendance thresholds and attendance processing options.

{{-- ============================================================ Form ============================================================ --}}
{{-- ======================================================== Basic Information ======================================================== --}}

Basic Information

Select the academic year and provide a name for this attendance rule.

{{-- Academic Year --}}

The academic year this attendance rule applies to.

@error('academic_year_id')

{{ $message }}

@enderror
{{-- Rule Name --}}

Enter a descriptive name for this attendance rule.

@error('name')

{{ $message }}

@enderror
{{-- ======================================================== School Timing ======================================================== --}}

School Timing

Define the official school time and allowed attendance punch windows.

{{-- Check-In Start Time --}}

Earliest time students are allowed to check in.

@error('check_in_start_time')

{{ $message }}

@enderror
{{-- Check-In End Time --}}

Latest time allowed for the normal check-in window.

@error('check_in_end_time')

{{ $message }}

@enderror
{{-- School Start Time --}}

Official starting time of the school day.

@error('school_start_time')

{{ $message }}

@enderror
{{-- School End Time --}}

Official ending time of the school day.

@error('school_end_time')

{{ $message }}

@enderror
{{-- Check-Out Start Time --}}

Earliest time from which normal checkout is allowed.

@error('check_out_start_time')

{{ $message }}

@enderror
{{-- Auto Checkout Time --}}

Time used for automatic checkout when auto checkout is enabled.

@error('auto_checkout_time')

{{ $message }}

@enderror
{{-- ======================================================== Attendance Thresholds ======================================================== --}}

Attendance Thresholds

Configure grace time, late attendance, half-day and working-minute rules.

{{-- Grace Minutes --}}

Additional minutes allowed after school starts.

@error('grace_minutes')

{{ $message }}

@enderror
{{-- Late After Minutes --}}

Minutes after which attendance is considered late.

@error('late_after_minutes')

{{ $message }}

@enderror
{{-- Half Day After Minutes --}}

Delay threshold after which attendance becomes half-day.

@error('half_day_after_minutes')

{{ $message }}

@enderror
{{-- Minimum Working Minutes --}}

Minimum attendance duration required for a full working day.

@error('minimum_working_minutes')

{{ $message }}

@enderror
{{-- Early Leave Before Minutes --}}

Leaving this many minutes early will be recorded as early leave.

@error('early_leave_before_minutes')

{{ $message }}

@enderror
{{-- ======================================================== Attendance Processing ======================================================== --}}

Attendance Processing

Control automatic checkout, manual attendance and multiple punch behaviour.

{{-- Auto Checkout --}}

Automatically checkout students who do not record a checkout punch.

@error('auto_checkout')

{{ $message }}

@enderror
{{-- Manual Attendance --}}

Allow authorized users to record attendance manually.

@error('allow_manual_attendance')

{{ $message }}

@enderror
{{-- Manual Correction --}}

Allow authorized users to correct attendance records manually.

@error('allow_manual_correction')

{{ $message }}

@enderror
{{-- Multiple Punch --}}

Allow more than one attendance punch during the same day.

@error('allow_multiple_punch')

{{ $message }}

@enderror
{{-- ======================================================== Status ======================================================== --}}

Rule Status

Control whether this attendance rule is currently available for attendance processing.

{{-- Status --}}

Inactive rules will not be used for new attendance processing.

@error('is_active')

{{ $message }}

@enderror
{{-- ============================================================ Actions ============================================================ --}}
Cancel
@endsection @push('scripts') @endpush