smc report for specific containers

This commit is contained in:
omair saleh
2022-03-18 17:48:18 +08:00
parent 3326de9c4f
commit e1c4d674b6
+4 -1
View File
@@ -262,7 +262,10 @@ Route::get('/customer/summary/monthly', function () {
<th>CBM</th>
</tr>';
foreach ($packingLists as $packingList){
$packages = $packingList->packingLists->first()->packages;
if($packingList->packingLists->first()){
$packingList = $packingList->packingLists->first();
}
$packages = $packingList->packages;
foreach ($packages as $package){
echo '<tr>
<td>-</td>