mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-19 04:24:12 +00:00
temp show specific report period
This commit is contained in:
@@ -31,9 +31,9 @@ class MonthlyReportController
|
||||
return $container->packages;
|
||||
});
|
||||
|
||||
dd($packages->flatMap(function ($container) {
|
||||
return $container->order;
|
||||
})->unique());
|
||||
dd($packages->flatMap(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