@extends('layouts.app') @section('title', 'Job #'.$job->id) @section('content')
← Dashboard

Job #{{ $job->id }} · {{ ucfirst($job->type) }}

@if(in_array($job->status, ['pending','running']))
@csrf
@endif @if($job->failed_items || $job->cancelled_items)
@csrf
@endif
{{ ucfirst($job->status) }}{{ $job->completed_items }} completed · {{ $job->failed_items }} failed · {{ $job->cancelled_items }} cancelled · {{ $job->total_items }} total
@php($percent = $job->total_items ? round((($job->completed_items+$job->failed_items+$job->cancelled_items)/$job->total_items)*100) : 0)
{{ $percent }}%
@foreach($items as $item)@endforeach
ProductStatusAttemptsErrorStarted
@if($item->product){{ $item->product->name }}@else Catalog discovery @endif{{ $item->status }}{{ $item->attempts }}{{ $item->error_message }}{{ optional($item->started_at)->format('Y-m-d H:i:s') }}
{{ $items->links() }}
@endsection @push('scripts') @if(in_array($job->status, ['pending','running']))@endif @endpush