wip
This commit is contained in:
1 parent
dc2e6b0fd3
commit
4cdec4be8e
3 files changed
+34
-24
No files matched your search
@@ -5,6 +5,7 @@ namespace App\Filament\Widgets\Data\LoadEvents;
|
||||
use App\Filament\Pages\Selections\Helper\GetSeason;
|
||||
use App\Models\StatistikoEvent;
|
||||
use App\Models\StatistikoPlayer;
|
||||
use Illuminate\Support\Facades\Log;
|
||||
|
||||
class LoadEventsQuery
|
||||
{
|
||||
@@ -33,9 +34,11 @@ class LoadEventsQuery
|
||||
$statistic_type = 'gls';
|
||||
}
|
||||
|
||||
// if($similar_past_matches != 'none'){
|
||||
// $team_id = 0;
|
||||
// }
|
||||
if ($similar_past_matches != 'none') {
|
||||
$team_position = '';
|
||||
$team_id = 0;
|
||||
$ss_player_id = 0;
|
||||
}
|
||||
|
||||
// dd($season);
|
||||
$season = GetSeason::load($season, $seasonmode);
|
||||
@@ -134,6 +137,7 @@ class LoadEventsQuery
|
||||
|
||||
// dd($res);
|
||||
// dd($season, $league_id, $res);
|
||||
Log::info('season', $season);
|
||||
|
||||
$arr = [];
|
||||
foreach ($res as $value) {
|
||||
|
||||
Reference in new issue
Block a user