removed chart field from pl and tax reports
This commit is contained in:
parent
6c72fc39ce
commit
f3e79c4885
@ -283,14 +283,14 @@ class Version200 extends Listener
|
||||
'class' => 'App\Reports\ProfitLoss',
|
||||
'name' => trans('reports.profit_loss'),
|
||||
'description' => trans('demo.reports.profit_loss'),
|
||||
'settings' => ['group' => 'category', 'period' => 'quarterly', 'basis' => 'accrual', 'chart' => '0'],
|
||||
'settings' => ['group' => 'category', 'period' => 'quarterly', 'basis' => 'accrual'],
|
||||
],
|
||||
[
|
||||
'company_id' => $company->id,
|
||||
'class' => 'App\Reports\TaxSummary',
|
||||
'name' => trans('reports.summary.tax'),
|
||||
'description' => trans('demo.reports.tax'),
|
||||
'settings' => ['group' => 'category', 'period' => 'quarterly', 'basis' => 'accrual', 'chart' => '0'],
|
||||
'settings' => ['group' => 'category', 'period' => 'quarterly', 'basis' => 'accrual'],
|
||||
],
|
||||
];
|
||||
|
||||
|
@ -109,4 +109,13 @@ class ProfitLoss extends Report
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public function getFields()
|
||||
{
|
||||
return [
|
||||
$this->getGroupField(),
|
||||
$this->getPeriodField(),
|
||||
$this->getBasisField(),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
@ -124,4 +124,13 @@ class TaxSummary extends Report
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public function getFields()
|
||||
{
|
||||
return [
|
||||
$this->getGroupField(),
|
||||
$this->getPeriodField(),
|
||||
$this->getBasisField(),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
@ -53,14 +53,14 @@ class Reports extends Seeder
|
||||
'class' => 'App\Reports\ProfitLoss',
|
||||
'name' => trans('reports.profit_loss'),
|
||||
'description' => trans('demo.reports.profit_loss'),
|
||||
'settings' => ['group' => 'category', 'period' => 'quarterly', 'basis' => 'accrual', 'chart' => '0'],
|
||||
'settings' => ['group' => 'category', 'period' => 'quarterly', 'basis' => 'accrual'],
|
||||
],
|
||||
[
|
||||
'company_id' => $company_id,
|
||||
'class' => 'App\Reports\TaxSummary',
|
||||
'name' => trans('reports.summary.tax'),
|
||||
'description' => trans('demo.reports.tax'),
|
||||
'settings' => ['group' => 'category', 'period' => 'quarterly', 'basis' => 'accrual', 'chart' => '0'],
|
||||
'settings' => ['group' => 'category', 'period' => 'quarterly', 'basis' => 'accrual'],
|
||||
],
|
||||
];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user