@extends('layouts.app') @section('content')

Time Conditions

Route calls to different destinations based on time schedules, holidays, and overrides.

+ New Time Condition
@foreach (['success', 'info', 'error'] as $k) @if (session($k))
{{ session($k) }}
@endif @endforeach {{-- Quick Links --}}
@forelse ($items as $tc) @php $stateLabel = match ($tc->live_state) { 'OPEN' => ['tc-badge-open', 'OPEN (Always In-Hours)'], 'CLOSED' => ['tc-badge-closed', 'CLOSED (Always After-Hours)'], default => ['tc-badge-auto', 'AUTO (Following Schedule)'], }; @endphp @empty @endforelse
Name Entry Code Toggle Code Schedule Holiday Calendar Live State Actions
{{ $tc->name }}
@if ($tc->description) {{ $tc->description }} @endif
{{ $tc->code }} {{ $tc->feature_code ? $tc->feature_code : '—' }} {{ $tc->group?->name ?? '—' }} @if ($tc->use_holidays && $tc->holidayCalendar) {{ $tc->holidayCalendar->name }} @else — @endif {{ $stateLabel[1] }} Edit
No time conditions configured yet.

Create a schedule first, then create a time condition that uses it.

@if($items->hasPages())
{{ $items->links() }}
@endif @endsection