From 738fbd84fa53ff4691558d5b56fffb7bc2c5986c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denis=20Duli=C3=A7i?= Date: Tue, 17 Oct 2023 10:22:53 +0300 Subject: [PATCH] fixed dynamic property creation --- app/Abstracts/Report.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Abstracts/Report.php b/app/Abstracts/Report.php index 31ddc2e83..9a19ab320 100644 --- a/app/Abstracts/Report.php +++ b/app/Abstracts/Report.php @@ -40,6 +40,8 @@ abstract class Report public $has_money = true; + public $groups = []; + public $year; public $views = []; @@ -405,8 +407,6 @@ abstract class Report public function setGroups() { - $this->groups = []; - event(new GroupShowing($this)); }