Report Rules

Server Time: {{ $serverTime->toDayDateTimeString() }}
New Rule
@forelse ($rules as $rule) @php $nextRun = $rule->next_run_at; $log = $rule->latestDispatchLog; @endphp @empty @endforelse
Name Scope Trigger Schedule Last Result Enabled
{{ $rule->name }} {{ $rule->is_global ? 'Global' : ($rule->client->name ?? 'Client') }} Status: {{ implode(', ', $rule->statuses ?? []) }} @if(!empty($rule->trigger_actions))
Action: {{ implode(', ', $rule->trigger_actions) }} @endif
{{ $rule->schedule_label }}
Next: {{ $nextRun?->toDayDateTimeString() ?? '—' }}
@if($log)
{{ ucfirst(str_replace('_', ' ', $log->status)) }}
{{ optional($log->ran_at)->toDayDateTimeString() }}
@if(!empty($log->note))
{{ $log->note }}
@endif @else
No run yet
@endif
{{ $rule->enabled ? 'Yes' : 'No' }}
@csrf
Edit
@csrf @method('DELETE')
No report rules yet.
{{ $rules->links() }}