setting should be read via function
This commit is contained in:
parent
f9ea44c9a5
commit
ecb19c9ac4
@ -185,7 +185,7 @@ abstract class Report
|
|||||||
{
|
{
|
||||||
$formatted_date = null;
|
$formatted_date = null;
|
||||||
|
|
||||||
switch ($event->class->model->settings->period) {
|
switch ($event->class->getSetting('period')) {
|
||||||
case 'yearly':
|
case 'yearly':
|
||||||
$financial_year = $this->getFinancialYear($event->class->model->year);
|
$financial_year = $this->getFinancialYear($event->class->model->year);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user