Daftar Keluhan Sarana Prasarana
@php $i=1 @endphp @foreach($complaint as $complaint) @endforeach
No Lokasi Keluhan Deskripsi Pelapor Tgl Lapor
{{ $i++ }} {{$complaint->location}} {{$complaint->complaint}} {{$complaint->description}} {{$complaint->users->name ?? 'Pelapor Tidak Ditemukan'}} {{$complaint->created_at->format('d-m-Y H:i:s')}}