formatting
This commit is contained in:
parent
9c6e3c2751
commit
cf24e678a8
@ -139,6 +139,10 @@ abstract class Report
|
||||
{
|
||||
$chart = new Chartjs();
|
||||
|
||||
if (empty($this->model->settings->chart)) {
|
||||
return $chart;
|
||||
}
|
||||
|
||||
$config = $this->chart[$this->model->settings->chart];
|
||||
|
||||
$default_options = $this->getLineChartOptions();
|
||||
|
@ -16,8 +16,6 @@ class ProfitLoss extends Report
|
||||
|
||||
public $icon = 'fa fa-heart';
|
||||
|
||||
public $chart = false;
|
||||
|
||||
public function setViews()
|
||||
{
|
||||
parent::setViews();
|
||||
|
@ -21,8 +21,6 @@ class TaxSummary extends Report
|
||||
|
||||
public $icon = 'fa fa-percent';
|
||||
|
||||
public $chart = false;
|
||||
|
||||
public function setViews()
|
||||
{
|
||||
parent::setViews();
|
||||
|
Loading…
x
Reference in New Issue
Block a user