@section('title', __('Jobs Monitor'))
{{ __('Use this page to detect blocked order dispatch quickly and take action immediately.') }}
{{ __('CRON') }}
@if ($metrics['cron_healthy']){{ __('Running') }}
@else{{ __('Delayed') }}
@endif@if (!empty($metrics['cron_last_run_at'])) {{ __('Last run: :time', ['time' => $metrics['cron_last_run_at']->translatedFormat('d M, H:i:s')]) }} @else {{ __('Last run: Never') }} @endif
{{ __('Pending Jobs') }}
{{ $metrics['pending_jobs_count'] }}
{{ __('Oldest waiting: :minutes min', ['minutes' => $metrics['oldest_pending_job_minutes']]) }}
{{ __('Failed Jobs') }}
{{ $metrics['failed_jobs_count'] }}
{{ __('Retry from tab below when needed') }}
{{ __('Critical Orders') }}
{{ $metrics['critical_orders_count'] }}
{{ __('Older than :minutes min without driver', ['minutes' => $this->criticalOrderWindowMinutes]) }}
{{ __('Online Drivers') }}
{{ $metrics['online_regular_drivers_count'] }}
{{ __('Regular drivers currently online') }}
{{ $item['title'] }}
{{ $item['message'] }}
{{ __('Priority list for active orders that are still open and waiting for auto-assignment.') }}
{{ __('No critical waiting orders now') }}
{{ __('Newly accepted orders should still be monitored during peak hours.') }}
| {{ __('Order') }} | {{ __('Vendor') }} | {{ __('Status') }} | {{ __('Waiting') }} | {{ __('Attempts') }} | {{ __('Actions') }} |
|---|---|---|---|---|---|
| #{{ $order->code }} | {{ $order->vendor->name ?? '--' }} | {{ ucfirst(__($order->status ?? 'pending')) }} | {{ $order->dispatch_wait_minutes }} {{ __('min') }} |
{{ __('Pending alerts: :count', ['count' => $order->pending_auto_assignments_count]) }} {{ __('Rejected: :count', ['count' => $order->rejected_auto_assignments_count]) }} |
@if ((int) $order->pending_auto_assignments_count > 0)
@endif
|