report fields
This commit is contained in:
@@ -259,58 +259,38 @@ class Version200 extends Listener
|
||||
$rows = [
|
||||
[
|
||||
'company_id' => $company->id,
|
||||
'class' => 'App\Reports\IncomeSummary',
|
||||
'name' => trans('reports.summary.income'),
|
||||
'description' => trans('demo.reports.income'),
|
||||
'class' => 'App\Reports\IncomeSummary',
|
||||
'group' => 'category',
|
||||
'period' => 'monthly',
|
||||
'basis' => 'accrual',
|
||||
'chart' => 'line',
|
||||
'enabled' => 1,
|
||||
'settings' => ['group' => 'category', 'period' => 'monthly', 'basis' => 'accrual', 'chart' => 'line'],
|
||||
],
|
||||
[
|
||||
'company_id' => $company->id,
|
||||
'class' => 'App\Reports\ExpenseSummary',
|
||||
'name' => trans('reports.summary.expense'),
|
||||
'description' => trans('demo.reports.expense'),
|
||||
'class' => 'App\Reports\ExpenseSummary',
|
||||
'group' => 'category',
|
||||
'period' => 'monthly',
|
||||
'basis' => 'accrual',
|
||||
'chart' => 'line',
|
||||
'enabled' => 1,
|
||||
'settings' => ['group' => 'category', 'period' => 'monthly', 'basis' => 'accrual', 'chart' => 'line'],
|
||||
],
|
||||
[
|
||||
'company_id' => $company->id,
|
||||
'class' => 'App\Reports\IncomeExpenseSummary',
|
||||
'name' => trans('reports.summary.income_expense'),
|
||||
'description' => trans('demo.reports.income_expense'),
|
||||
'class' => 'App\Reports\IncomeExpenseSummary',
|
||||
'group' => 'category',
|
||||
'period' => 'monthly',
|
||||
'basis' => 'accrual',
|
||||
'chart' => 'line',
|
||||
'enabled' => 1,
|
||||
'settings' => ['group' => 'category', 'period' => 'monthly', 'basis' => 'accrual', 'chart' => 'line'],
|
||||
],
|
||||
[
|
||||
'company_id' => $company->id,
|
||||
'class' => 'App\Reports\ProfitLoss',
|
||||
'name' => trans('reports.profit_loss'),
|
||||
'description' => trans('demo.reports.profit_loss'),
|
||||
'settings' => ['group' => 'category', 'period' => 'quarterly', 'basis' => 'accrual', 'chart' => '0'],
|
||||
],
|
||||
[
|
||||
'company_id' => $company->id,
|
||||
'class' => 'App\Reports\TaxSummary',
|
||||
'name' => trans('reports.summary.tax'),
|
||||
'description' => trans('demo.reports.tax'),
|
||||
'class' => 'App\Reports\TaxSummary',
|
||||
'group' => 'category',
|
||||
'period' => 'quarterly',
|
||||
'basis' => 'accrual',
|
||||
'chart' => '0',
|
||||
'enabled' => 1,
|
||||
],
|
||||
[
|
||||
'company_id' => $company->id,
|
||||
'name' => trans('reports.profit_loss'),
|
||||
'description' => trans('demo.reports.pl'),
|
||||
'class' => 'App\Reports\ProfitLoss',
|
||||
'group' => 'category',
|
||||
'period' => 'quarterly',
|
||||
'basis' => 'accrual',
|
||||
'chart' => '0',
|
||||
'enabled' => 1,
|
||||
'settings' => ['group' => 'category', 'period' => 'quarterly', 'basis' => 'accrual', 'chart' => '0'],
|
||||
],
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user