This commit is contained in:
salam committed 2026-08-29 19:13:07 +02:00
1 parent 82f3654a05
commit be4a08982e
8 files changed
+364 -326

No files matched your search

+1 -7
View File
@@ -47,21 +47,14 @@ class LoadPlayer
$res = StatistikoPlayer::with('event')->where('ss_player_id', (int) $ss_player_id)->get();
// dd($res);
$tmp = [];
foreach ($res as $value) {
// dd($value);
$val = 0;
$key = 0;
if (isset($value->event->starttime)) {
// $labels[] = $value->event->starttime->format('d.M.y');
$key = round($value->event->starttime->diffInDays(Carbon::now()));
switch ($statistic_type) {
@@ -92,6 +85,7 @@ class LoadPlayer
}
}
krsort($tmp);
$dataset = [];
$labels = [];