@if ($showHeader)

{{ __('Queue Jobs') }}

{{ __('Pending jobs in the queue') }}

{{ $jobs->total() }} {{ trans_choice('job|jobs', $jobs->total()) }} {{ __('found') }}
@if ($showDeleteAll && $jobs->count() > 0) @endif
@endif
@if ($jobs->count() > 0)
@foreach ($jobs as $job) @php $payload = json_decode($job->payload, true); $jobClass = $payload['displayName'] ?? 'Unknown Job'; // Extract just the class name without namespace $shortJobClass = last(explode('\\', $jobClass)); @endphp @endforeach
{{ __('ID') }} {{ __('Queue') }} {{ __('Job Class') }} {{ __('Attempts') }} {{ __('Available At') }} {{ __('Created At') }} {{ __('Actions') }}
#{{ $job->id }} {{ $job->queue ?? 'default' }} {{ $shortJobClass }} {{ $job->attempts }} {{ $job->available_at ? \Carbon\Carbon::createFromTimestamp($job->available_at)->format('M d, H:i') : __('Now') }} {{ \Carbon\Carbon::createFromTimestamp($job->created_at)->format('M d, H:i') }}
@if ($jobs->hasPages())
{{ $jobs->links() }}
@endif @else

{{ __('No jobs found') }}

{{ __('There are no pending jobs in the queue.') }}

@endif