mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-19 04:14:04 +00:00
x1 and x2 reports
This commit is contained in:
+6
-1
@@ -26,7 +26,12 @@ Route::get('/report/x1', function(){
|
||||
return $item->created_at->format('Y-m');
|
||||
});
|
||||
|
||||
dd($months);
|
||||
foreach($months as $month => $bookings){
|
||||
$day = $bookings->groupBy(function($item){
|
||||
return $item->created_at->format('Y-m-d');
|
||||
});
|
||||
dd($day);
|
||||
}
|
||||
|
||||
});
|
||||
Route::get('/report/x2', function(){
|
||||
|
||||
Reference in New Issue
Block a user