This commit is contained in:
salam committed 2026-02-22 18:15:31 +01:00
1 parent 9265e576eb
commit 66e26323a4
1 file changed
+2 -2
+2 -2
View File
@@ -21,7 +21,7 @@ class LoadProvider
if (is_array($search_values) and \count($search_values)) {
return Mapper::query()
->whereDate('starttime', '>', Carbon::now()->subHours(12))
// ->whereDate('starttime', '>', Carbon::now()->subHours(12))
->where('sport_id', auth()->user()->sport_id)
->where('provider_id', auth()->user()->provider_id)
->where(function ($query) use ($search_values) {
@@ -33,7 +33,7 @@ class LoadProvider
} else {
return Mapper::query()
->whereDate('starttime', '>', Carbon::now()->subHours(12))
// ->whereDate('starttime', '>', Carbon::now()->subHours(12))
->where('sport_id', auth()->user()->sport_id)
->where('provider_id', auth()->user()->provider_id);
}