wip chart in tab

This commit is contained in:
salam committed 2026-05-30 18:48:15 +02:00
1 parent 527280a670
commit 095a4ffd41
12 files changed
+109 -86

No files matched your search

@@ -3,7 +3,6 @@
namespace App\Filament\Widgets\Data;
use App\Models\StatisticFixtures;
use App\Models\StatistikoDetail;
use App\Models\StatistikoEvent;
use App\Models\StatistikoPlayer;
use Illuminate\Support\Carbon;
@@ -146,30 +145,6 @@ class LoadPerformance
return $data;
/**
* IF WITH PLAYER
*/
// $matches_played = 0;
// $description = '';
// if ($tm_player_id) {
// $matches_played = StatistikoPlayer::where('tm_player_id', (int) $tm_player_id)
// ->when($player_on_field, function ($query) use ($player_on_field) {
// switch ($player_on_field) {
// case 'lineup':
// return $query->where('lineup', 'T');
// case 'substituted':
// return $query->where('lineup', 'P');
// }
// })
// ->pluck('match_id')->toArray();
// if (! $matches_played) {
// return [];
// }
// $description = ' (with '.StatistikoDetail::where('tm_player_id', (int) $tm_player_id)->value('name').')';
// }
}
public static function filterMatches($res, $matches)