{{-- Which tickets a rule applies to. Without these three fields every rule was global: a rule meant for one department escalated every ticket in the system and mailed its auto-reply to unrelated customers. Selecting nothing in a list means "any", which is what the escalation service already does with an empty scope. --}} @php $scopeDepartments = is_array($rule?->departments) ? array_map('strval', $rule->departments) : []; $scopeStatuses = is_array($rule?->statuses) ? $rule->statuses : []; $scopePriorities = is_array($rule?->priorities) ? $rule->priorities : []; @endphp
{{ __('admin.ticket_escalation.applies_to') }}
{{ __('admin.ticket_escalation.scope_hint') }}