feat(server): add structure query flat or tree to accounts chart endpoint

This commit is contained in:
a.bouhuolia
2023-04-30 17:24:49 +02:00
parent 903dc0522a
commit 83510cfa70
9 changed files with 158 additions and 18 deletions

View File

@@ -67,6 +67,7 @@ export default class GeneralLedgerReportController extends BaseFinancialReportCo
try {
const { data, query, meta } =
await this.generalLedgetService.generalLedger(tenantId, filter);
return res.status(200).send({
meta: this.transfromToResponse(meta),
data: this.transfromToResponse(data),