title: laravel collection/format printing |Property [id] does not exist on this collection instance
body: <pre><code>  $Report = Db::table('Attendance_Processed as procc')                            
                        -&gt;leftjoin('Emp_Details', 'Emp_Details.HRApp_Emp_Id', '=', 'procc.HRApp_Emp_Id')
                              -&gt;where('procc.Org_ID',$orgid)
                              -&gt;where('Emp_Details.Supervisor_Emp_ID',$hrid)
                              -&gt;whereYear('Clock_Day',$yearofdata)
                              -&gt;whereMonth('Clock_Day',$monthofdata)   
                              -&gt;select('Emp_Details.Emp_First_Name as name','procc.HRApp_Emp_Id as hrid',
                                'procc.Clock_Day as clockedday',
                                'procc.Time_in as timein',
                                'procc.Time_out as Timeout',
                                'procc.Total_Work_Hrs as totalworkedhours')
  
  
                             -&gt;get()-&gt;groupBy('hrid','clockedday');
                             dd($Report);
                               return $Report;
  </code></pre>
  
  <p>the following code produce the this format</p>
  
  <pre><code>&gt; Collection {#1168 ▼   #items: array:13 [▼
  &gt;     8 =&gt; Collection {#1155 ▼
  &gt;       #items: array:6 [▼
  &gt;         0 =&gt; {#934 ▼
  &gt;           +"name": "Aditi"
  &gt;           +"hrid": "8"
  &gt;           +"clockedday": "2017-10-03"
  &gt;           +"timein": "07:59:37"
  &gt;           +"Timeout": "16:52:30"
  &gt;           +"totalworkedhours": "08:52:53"
  &gt;         }
  &gt;         1 =&gt; {#935 ▼
  &gt;           +"name": "Aditi"
  &gt;           +"hrid": "8"
  &gt;           +"clockedday": "2017-10-04"
  &gt;           +"timein": "07:33:59"
  &gt;           +"Timeout": "16:31:48"
  &gt;           +"totalworkedhours": "08:57:49"
  &gt;         }
  &gt;         2 =&gt; {#936 ▶}
  &gt;         3 =&gt; {#937 ▶}
  &gt;         4 =&gt; {#938 ▶}
  &gt;         5 =&gt; {#939 ▶}
  &gt;       ]
  &gt;     }
  &gt;     20 =&gt; Collection {#1156 ▶}
  &gt;     213 =&gt; Collection {#1157 ▶}
  &gt;     11 =&gt; Collection {#1158 ▶}
  &gt;     22 =&gt; Collection {#1159 ▶}
  &gt;     10 =&gt; Collection {#1160 ▶}
  &gt;     9 =&gt; Collection {#1161 ▶}
  &gt;     28 =&gt; Collection {#1162 ▶}
  &gt;     29 =&gt; Collection {#1163 ▶}
  &gt;     16 =&gt; Collection {#1164 ▶}
  &gt;     17 =&gt; Collection {#1165 ▶}
  &gt;     25 =&gt; Collection {#1166 ▶}
  &gt;     31 =&gt; Collection {#1167 ▶}   ]
  </code></pre>
  
  <p>I am not able to print it properly on blade with foreachloop.</p>
  
  <p>when i am trying to print it in blade file its showing the following error</p>
  
  <hr>
  
  <p>"Property [hrid] does not exist on this collection instance".</p>
  
  <hr>
  
  <p>please help me in this ..</p>
  
  <p>Thank you in advance</p>