@frankielee what I want to get is the data from database per created_at, and when displaying that data, the same date will not display, I want to get all the data per date and total all those data.
@frankielee yeah I already group the data but the problem now is how to display data in blade base in its date, if there are multiple data in current date, I hope you get my point,
If I do foreach in blade the same date will appear , what I want to do is to group it which I already did in my controller and display all the data in 1 date created if there are multiple data in 1 date,
@foreach($jobOrders as $key =>$orders)
@foreach ($orders as $order)
<td>{{$order->id}}</td>
<td> // if this the first index, show the date
@if ($loop->first)
{{ $key }}
@endif
</td>
@endforeach
@endforeach