mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/portal.git
synced 2026-08-21 05:24:09 +00:00
temp show specific report period
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user