From fc18f98fd8e28551f63326ea282af81e93327b34 Mon Sep 17 00:00:00 2001 From: salam Date: Wed, 27 May 2026 12:32:43 +0200 Subject: [PATCH] wip --- app/Filament/Widgets/ChartMovingAverageEvent.php | 2 +- app/Filament/Widgets/ChartMovingAveragePlayer.php | 2 +- app/Filament/Widgets/ChartPunctualEvent.php | 2 +- app/Filament/Widgets/ChartPunctualPlayer.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/Filament/Widgets/ChartMovingAverageEvent.php b/app/Filament/Widgets/ChartMovingAverageEvent.php index 82c40133..aac60fae 100644 --- a/app/Filament/Widgets/ChartMovingAverageEvent.php +++ b/app/Filament/Widgets/ChartMovingAverageEvent.php @@ -21,7 +21,7 @@ class ChartMovingAverageEvent extends ChartWidget $data = LoadEvents::load($this->filters); - $this->description = HelperStatisticType::get($this->filters).' Moving Average'; + $this->description = ucfirst(HelperStatisticType::get($this->filters)).' Moving Average'; if ($data) { diff --git a/app/Filament/Widgets/ChartMovingAveragePlayer.php b/app/Filament/Widgets/ChartMovingAveragePlayer.php index e864dc83..47170f7d 100644 --- a/app/Filament/Widgets/ChartMovingAveragePlayer.php +++ b/app/Filament/Widgets/ChartMovingAveragePlayer.php @@ -40,7 +40,7 @@ class ChartMovingAveragePlayer extends ChartWidget $this->heading = 'Player'; - $this->description = HelperStatisticType::get($this->filters).' Moving Average'; + $this->description = ucfirst(HelperStatisticType::get($this->filters)).' Moving Average'; $data = LoadPlayer::load($this->filters); diff --git a/app/Filament/Widgets/ChartPunctualEvent.php b/app/Filament/Widgets/ChartPunctualEvent.php index 296a92a3..d59b46f9 100644 --- a/app/Filament/Widgets/ChartPunctualEvent.php +++ b/app/Filament/Widgets/ChartPunctualEvent.php @@ -20,7 +20,7 @@ class ChartPunctualEvent extends ChartWidget $data = LoadEvents::load($this->filters); - $this->description = HelperStatisticType::get($this->filters); + $this->description = ucfirst(HelperStatisticType::get($this->filters)); if (isset($data['description'])) { $this->description .= $data['description']; diff --git a/app/Filament/Widgets/ChartPunctualPlayer.php b/app/Filament/Widgets/ChartPunctualPlayer.php index dfddd36e..1c5bd748 100644 --- a/app/Filament/Widgets/ChartPunctualPlayer.php +++ b/app/Filament/Widgets/ChartPunctualPlayer.php @@ -37,7 +37,7 @@ class ChartPunctualPlayer extends ChartWidget $this->heading = 'Player'; - $this->description = HelperStatisticType::get($this->filters); + $this->description = ucfirst(HelperStatisticType::get($this->filters)); if (isset($data['description'])) { $this->description .= $data['description'];