This commit is contained in:
salam committed 2026-02-22 18:11:27 +01:00
1 parent 82c1f6b898
commit 0eb8a5d67e
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())
->whereDate('starttime', '>', Carbon::now()->subHours(5))
->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())
->whereDate('starttime', '>', Carbon::now()->subHours(5))
->where('sport_id', auth()->user()->sport_id)
->where('provider_id', auth()->user()->provider_id);
}