all where to whereDate for starttime

This commit is contained in:
salam committed 2026-02-22 17:08:41 +01:00
1 parent dcaf503b71
commit 831c8507cf
16 files changed
+66 -71

No files matched your search

@@ -27,9 +27,8 @@ class MaglooNigeriaAll
}
$sports = Sport::map('magl');
dd($sports);
$mappers = Mapper::where('provider_id', 2)->where('sport_id', 5)->where('starttime', '>', Carbon::now())->get()->toArray();
$mappers = Mapper::where('provider_id', 2)->where('sport_id', 5)->whereDate('starttime', '>', Carbon::now())->get()->toArray();
foreach ($mappers as $mapper) {