use last 180 days for player in PP
This commit is contained in:
1 parent
e384c577d1
commit
50e15caad1
2 files changed
+37
-249
No files matched your search
@@ -389,7 +389,7 @@ class PlayerPropsDrop extends Widget
|
||||
$team_home_away = 'away';
|
||||
}
|
||||
|
||||
$player_totals = SofaScorePlayerPerSeason::with('details')->where('total_min', '>', 0)->where('season', 'total')->where('ss_team_id', $team_id)->get();
|
||||
$player_totals = SofaScorePlayerPerSeason::with('details')->where('total_min', '>', 0)->where('season', 'last_180_days')->where('ss_team_id', $team_id)->get();
|
||||
|
||||
$count_player = 0;
|
||||
foreach ($player_totals as $key => $value) {
|
||||
|
||||
Reference in new issue
Block a user