diff --git a/app/Filament/Widgets/Data/LoadEvents.php b/app/Filament/Widgets/Data/LoadEvents.php index 1c0890f7..a1da80fa 100644 --- a/app/Filament/Widgets/Data/LoadEvents.php +++ b/app/Filament/Widgets/Data/LoadEvents.php @@ -205,9 +205,9 @@ class LoadEvents // dd($value); - // $result_code = (string) $value['result_code']; + $result_code = (string) $value['result_code']; - // Log::debug($result_code); + Log::debug($value); $labels[] = round($value['starttime']->diffInDays(Carbon::now())); diff --git a/app/Models/StatistikoEvent.php b/app/Models/StatistikoEvent.php index b8708c42..235062e1 100644 --- a/app/Models/StatistikoEvent.php +++ b/app/Models/StatistikoEvent.php @@ -39,6 +39,7 @@ class StatistikoEvent extends Model 'exp_away', 'exp_handicap', 'exp_total', + 'result_code', 'created_at', 'updated_at', ];