diff --git a/routes/web.php b/routes/web.php index 5adb60ab..0817f626 100644 --- a/routes/web.php +++ b/routes/web.php @@ -27,10 +27,11 @@ Route::get('/report/x1', function(){ }); foreach($months as $month => $bookings){ + echo "

".$month."(".$month->map(function ($row) { return $row->sum('bia'); }).")


"; $day = $bookings->groupBy(function($item){ return $item->created_at->format('Y-m-d'); }); - dump($day); + } });