wip
This commit is contained in:
1 parent
a9b004963c
commit
0b6854378c
2 files changed
+5
No files matched your search
@@ -5,6 +5,7 @@ namespace App\Filament\Widgets\Boxes;
|
|||||||
use App\Models\StatistikoDetail;
|
use App\Models\StatistikoDetail;
|
||||||
use App\Models\StatistikoEvent;
|
use App\Models\StatistikoEvent;
|
||||||
use App\Models\StatistikoPlayer;
|
use App\Models\StatistikoPlayer;
|
||||||
|
use Illuminate\Support\Facades\Log;
|
||||||
|
|
||||||
class LoadPlayerAverages
|
class LoadPlayerAverages
|
||||||
{
|
{
|
||||||
@@ -105,6 +106,8 @@ class LoadPlayerAverages
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Log::debug('hall', $arr);
|
||||||
|
|
||||||
return $arr;
|
return $arr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -684,6 +684,8 @@ class PlayerPropsDrop extends Widget
|
|||||||
{
|
{
|
||||||
$players = LoadPlayerAverages::load($this->team_id, 'last180days');
|
$players = LoadPlayerAverages::load($this->team_id, 'last180days');
|
||||||
|
|
||||||
|
dd($players);
|
||||||
|
|
||||||
$arr = collect();
|
$arr = collect();
|
||||||
foreach ($players as $value) {
|
foreach ($players as $value) {
|
||||||
if ($value['position'] != '') {
|
if ($value['position'] != '') {
|
||||||
|
|||||||
Reference in new issue
Block a user