I created table displaying the date as a heading then the job for that day beneath it. But when i have 2 jobs on the same day it displays the date twice with each job beneath it. I want to display all the jobs for that day together under 1 Date (Heading). thankshow its displaying
<table>
<tbody>
@foreach($loads as $load)
<tr><td colspan="8" class="ml-1 h4 text-warning">{{date('l, d-F-Y', strtotime($load->pickup_date))}}</td></tr>
<tr>
<td>{{date("g:i a", strtotime($load->pick_up_time))}}</td>
<td><textarea>{{$user->customer}}</textarea></td>
<td>{{$load->pickup_location}}</td>
<td>{{$load->drop_off_location}}</td>
<!-- <td>{{$load->distance}}</td>-->
<!--<td><textarea>{{$load->description}}</textarea></td>-->
<!--<td>{{$load->customer_reference}}</td>-->
<td>{{$load->vehicle}}</td>
<td>{{$load->driver}}</td>
<td><textarea>{{$load->notes}}</textarea></td>
<td>
<a href="{{route('EditLoad',$load->id)}}" class="fa fa-2x fa-pencil-square-o" style="color:#FF6F00;"></i></a>
<a href="{{route('EditLoad',$load->id)}}" class="fa fa-2x fa-truck" style="color:#5cac00;"></i></a>
<a href="{{route('EditLoad',$load->id)}}" class="fa fa-2x fa-phone" style="color:#00b1e6;"></i></a></td>
</td>
</tr>
@endforeach
</tbody>
</table>