mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/portal.git
synced 2026-08-19 04:23:59 +00:00
add container summary for billing report
This commit is contained in:
+1
-1
@@ -451,7 +451,7 @@ Route::get('/delayed_container/customers', function(){
|
||||
|
||||
|
||||
Route::get('/container/billing/{month}/{year}', function($month, $year){
|
||||
$containers = Container::whereDate('loading_date', '>=', \Carbon\Carbon::parse('01-'.$month.'-'.$year))->get();
|
||||
$containers = Container::whereDate('loading_date', '>=', \Carbon\Carbon::parse('01-'.$month.'-'.$year))->whereDate('loading_date', '<', \Carbon\Carbon::parse('01-'.$month.'-'.$year)->addMonth())->get();
|
||||
|
||||
$totalBillable = 0;
|
||||
$billed = 0;
|
||||
|
||||
Reference in New Issue
Block a user