@extends('dashboard.layouts.app') @section('content') @include('components.alert')
Back to Rules
@csrf @method('PUT')
Rule Information

Update the core rule details including type, value, unit, status, and timing.

@if ($rule->insert_type == 'auto')
Auto-inserted rule

This rule was generated automatically. Only the value can be modified.

@endif
insert_type == 'auto' ? 'disabled' : '' }} required maxlength="255"> @error('name')
{{ $message }}
@enderror
@error('type')
{{ $message }}
@enderror
@error('value')
{{ $message }}
@enderror
@error('units')
{{ $message }}
@enderror
@error('status')
{{ $message }}
@enderror
@error('time_check_unit')
{{ $message }}
@enderror
@error('description')
{{ $message }}
@enderror
Applicable Staff

Choose which staff group this rule should apply to.

@php $applyTo = old('apply_to', $rule->apply_to); @endphp
@error('apply_to')
{{ $message }}
@enderror
Progressive Rule Levels

Define progressive penalty levels for repeated violations.

@if ($rule->insert_type != 'auto') @endif
No levels added yet
Click Add Level to define progressive penalties for repeated violations.
Cancel
@endsection @push('scripts') @endpush