wip
This commit is contained in:
1 parent
50e15caad1
commit
fb2d5503f6
1 file changed
+1
-1
@@ -679,7 +679,7 @@ class PlayerPropsDrop extends Widget
|
|||||||
|
|
||||||
public function prepareLineUp()
|
public function prepareLineUp()
|
||||||
{
|
{
|
||||||
$players = SofaScorePlayerPerSeason::with('details')->where('season', 'total')->where('ss_team_id', $this->team_id)->get();
|
$players = SofaScorePlayerPerSeason::with('details')->where('season', 'last_180_days')->where('ss_team_id', $this->team_id)->get();
|
||||||
$arr = collect();
|
$arr = collect();
|
||||||
foreach ($players as $value) {
|
foreach ($players as $value) {
|
||||||
if ($value?->details->position ?? 0) {
|
if ($value?->details->position ?? 0) {
|
||||||
|
|||||||
Reference in new issue
Block a user