temp show specific report period

This commit is contained in:
omair saleh
2021-10-11 14:54:52 +08:00
parent f963b012ec
commit 90a0c4ddf5
@@ -31,7 +31,9 @@ class MonthlyReportController
return $container->packages;
});
dd($packages[0]);
dd($packages->unique(function ($package) {
return $package->order;
}));
$totalCbm = $packages->sum(function($package){
return (( (float) $package->width / 100) * ( (float) $package->length / 100) * ( (float) $package->height / 100)) * $package->quantity;