subDays($i);
$incidents = Incident::whereRaw('DATE(created_at) = "' . $incidentDate->format('Y-m-d') . '"')->get();
?>
{{ $incidentDate->format('jS M, Y') }}
@if($incidents->count() === 0)
- No incidents reported.
@else
@foreach($incidents as $incident)
-
{{ $incident->name }}
{{ $incident->message }}
@endforeach
@endif