logifurture wip

This commit is contained in:
salam committed 2026-01-05 07:38:28 +01:00
1 parent 99b901009c
commit a96abae35a
15 files changed
+2143 -1518

No files matched your search

+5 -1
View File
@@ -3,12 +3,16 @@
namespace App\Mapper;
use App\Models\Mapper;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Auth;
class LoadProvider
{
public static function load()
{
return Mapper::query()->where('sport_id', Auth::user()->sport_id)->where('provider_id', Auth::user()->provider_id);
return Mapper::query()
->where('sport_id', Auth::user()->sport_id)
->where('starttime', '>', Carbon::now())
->where('provider_id', Auth::user()->provider_id);
}
}