wip
This commit is contained in:
1 parent
a381a3c8c8
commit
aae9594d8f
1 file changed
+1
-1
@@ -27,7 +27,7 @@ class PlayerPerSeason
|
|||||||
$res2 = StatistikoPlayer::with('event')->where('ss_player_id', $val->ss_player_id)->get();
|
$res2 = StatistikoPlayer::with('event')->where('ss_player_id', $val->ss_player_id)->get();
|
||||||
|
|
||||||
foreach ($res2 as $val2) {
|
foreach ($res2 as $val2) {
|
||||||
|
dd($val2);
|
||||||
if (!isset($collection[$val2->event->season])) {
|
if (!isset($collection[$val2->event->season])) {
|
||||||
$collection[$val2->event->season]['events_played_home'] = 0;
|
$collection[$val2->event->season]['events_played_home'] = 0;
|
||||||
$collection[$val2->event->season]['events_played_away'] = 0;
|
$collection[$val2->event->season]['events_played_away'] = 0;
|
||||||
|
|||||||
Reference in new issue
Block a user