Have you confirmed the key status exists in the data being sent to the view, as the error says "Undefined property", which usually means it does not exist in the paginated results.
I think you could do a this and see if status is in the results.
@foreach($complaints as $complaint)
{{ dd($complaint) }}
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community