title: Laravel displaying all jobs on same date under 1 header
body: <p>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).
  thanks<a href="https://i.stack.imgur.com/ANTiE.png" rel="nofollow noreferrer">how its displaying</a></p>
  <pre><code>&lt;table&gt;
      &lt;tbody&gt;
          @foreach($loads as $load)
              &lt;tr&gt;&lt;td  colspan=&quot;8&quot; class=&quot;ml-1 h4 text-warning&quot;&gt;{{date('l, d-F-Y', strtotime($load-&gt;pickup_date))}}&lt;/td&gt;&lt;/tr&gt;
              &lt;tr&gt;
                  &lt;td&gt;{{date(&quot;g:i a&quot;, strtotime($load-&gt;pick_up_time))}}&lt;/td&gt;
                  &lt;td&gt;&lt;textarea&gt;{{$user-&gt;customer}}&lt;/textarea&gt;&lt;/td&gt;
                  &lt;td&gt;{{$load-&gt;pickup_location}}&lt;/td&gt;
                  &lt;td&gt;{{$load-&gt;drop_off_location}}&lt;/td&gt;
                 &lt;!-- &lt;td&gt;{{$load-&gt;distance}}&lt;/td&gt;--&gt;
                  &lt;!--&lt;td&gt;&lt;textarea&gt;{{$load-&gt;description}}&lt;/textarea&gt;&lt;/td&gt;--&gt;
                  &lt;!--&lt;td&gt;{{$load-&gt;customer_reference}}&lt;/td&gt;--&gt;
                  &lt;td&gt;{{$load-&gt;vehicle}}&lt;/td&gt;
                  &lt;td&gt;{{$load-&gt;driver}}&lt;/td&gt;
                  &lt;td&gt;&lt;textarea&gt;{{$load-&gt;notes}}&lt;/textarea&gt;&lt;/td&gt;
                  &lt;td&gt;
                      &lt;a href=&quot;{{route('EditLoad',$load-&gt;id)}}&quot; class=&quot;fa fa-2x fa-pencil-square-o&quot; style=&quot;color:#FF6F00;&quot;&gt;&lt;/i&gt;&lt;/a&gt;
                      &lt;a href=&quot;{{route('EditLoad',$load-&gt;id)}}&quot; class=&quot;fa fa-2x fa-truck&quot; style=&quot;color:#5cac00;&quot;&gt;&lt;/i&gt;&lt;/a&gt;
                      &lt;a href=&quot;{{route('EditLoad',$load-&gt;id)}}&quot; class=&quot;fa fa-2x fa-phone&quot; style=&quot;color:#00b1e6;&quot;&gt;&lt;/i&gt;&lt;/a&gt;&lt;/td&gt;
                  &lt;/td&gt;
              &lt;/tr&gt;
          @endforeach
      &lt;/tbody&gt;
  &lt;/table&gt;
  </code></pre>