fixed dynamic property creation

This commit is contained in:
Denis Duliçi 2023-10-17 10:22:53 +03:00
parent cdad08a6de
commit 738fbd84fa
1 changed files with 2 additions and 2 deletions

View File

@ -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));
}