This commit is contained in:
salam committed 2026-02-22 18:17:33 +01:00
1 parent 66e26323a4
commit 916fbbc3b2
2 files changed
+1 -7

No files matched your search

-3
View File
@@ -4,7 +4,6 @@ namespace App\Livewire\Mapper;
use App\Models\Event;
use App\Models\Mapper;
use Illuminate\Support\Carbon;
class LoadProvider
{
@@ -21,7 +20,6 @@ class LoadProvider
if (is_array($search_values) and \count($search_values)) {
return Mapper::query()
// ->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 +31,6 @@ class LoadProvider
} else {
return Mapper::query()
// ->whereDate('starttime', '>', Carbon::now()->subHours(12))
->where('sport_id', auth()->user()->sport_id)
->where('provider_id', auth()->user()->provider_id);
}