{{ __('Prestart Check Dump Truck') }}

@forelse ($checks as $check) @php $notOkCount = collect($check->items)->filter(fn($i) => isset($i['ok']) && !$i['ok'])->count(); @endphp @empty @endforelse
Tanggal Driver Truck Item Tidak OK Catatan Aksi
{{ $check->date->format('d M Y') }} {{ $check->driver->name ?? '-' }} {{ $check->truck->plate_number ?? '-' }} {{ $notOkCount }} {{ Str::limit($check->notes, 60) }}
Belum ada data prestart check
{{ $checks->appends(request()->query())->links() }}