Basics
Schedule
Manage time groups
Routing Destinations
@include('applications.timeconditions._destination_picker', [
'label' => 'In-Hours Destination — where calls go during business hours',
'help' => 'When the schedule matches (office is open), route calls here.',
'typeName' => 'match_dest_type',
'idName' => 'match_dest_id',
'currentType' => old('match_dest_type', $defaults['match_dest_type']),
'currentId' => old('match_dest_id', $defaults['match_dest_id']),
'destinations' => $destinations,
'required' => true,
])
@include('applications.timeconditions._destination_picker', [
'label' => 'After-Hours Destination — where calls go outside business hours',
'help' => 'When the office is closed, on holidays, or on weekends, route calls here.',
'typeName' => 'nomatch_dest_type',
'idName' => 'nomatch_dest_id',
'currentType' => old('nomatch_dest_type', $defaults['nomatch_dest_type']),
'currentId' => old('nomatch_dest_id', $defaults['nomatch_dest_id']),
'destinations' => $destinations,
'required' => true,
])
@include('applications.timeconditions._destination_picker', [
'label' => 'Failsafe Destination (optional)',
'help' => 'Emergency fallback if something goes wrong. Defaults to after-hours destination if blank.',
'typeName' => 'fallback_dest_type',
'idName' => 'fallback_dest_id',
'currentType' => old('fallback_dest_type', $defaults['fallback_dest_type']),
'currentId' => old('fallback_dest_id', $defaults['fallback_dest_id']),
'destinations' => $destinations,
'required' => false,
])