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