@php $selectedOperation = old('operation_type', $rule?->operation_type ?? 'all'); $selectedCalculation = old('calculation_type', $rule?->calculation_type?->value ?? \App\Enums\AgentCommissionRuleType::PERCENTAGE->value); $ruleFormId = $rule?->id ?? 'new'; $statusChecked = (bool) old('status', $rule?->status ?? true); $globalFallbackChecked = (bool) old('applies_globally', $rule?->applies_globally ?? false); @endphp
{{ __('Name the rule and define when it should be matched.') }}
{{ __('Set amount ranges, calculation method, and optional commission caps.') }}
{{ __('Control schedule, priority, and whether this rule is active or globally usable.') }}