@php use Carbon\Carbon; $table_id = rand(1,9999); $faild_jobs = $items->get(); @endphp @extends('layouts.admin') @section('main-content')
{{$label}}
@foreach ($data as $key => $value) @endforeach @foreach ($faild_jobs as $row) @if(request()->input('view') == 'EmailFailedJob') @endif @endforeach
{{$value}}
@php $data = json_decode(strip_tags($row->payload)); $command = strip_tags(str_replace(['{', '}', '"'], '', $data->data->command)); @endphp
{{ mb_substr(strip_tags($command) ?? '', 0, 80) }}...
@php $exception = str_replace(['{', '}', '"'], '', $row->exception); @endphp
{{ mb_substr($exception ?? '', 0, 80) }}...
@if(request()->input('view') == 'EmailFailedJob') {{ $row->failed_at }} @else {{ $row->attempts }} @endif
@push('scripts') @endpush @endsection