diff --git a/routes/web.php b/routes/web.php index ff8a0ca0..21677392 100644 --- a/routes/web.php +++ b/routes/web.php @@ -20,7 +20,7 @@ Route::get('/old-invoices', function(){ $q->whereNotNull('image_path'); })->get(); dd($bookings->groupBy(function($item) { - return $item->created_at->format('m'); + return $item->created_at->format('Y-m'); })); echo "