From 5188f28c0d69b724bfb287fa256337cc52a1d4be Mon Sep 17 00:00:00 2001 From: 18alantom <2.alan.tom@gmail.com> Date: Fri, 13 May 2022 15:31:05 +0530 Subject: [PATCH] fix: list display, minor UI fixes --- reports/GeneralLedger/GeneralLedger.ts | 4 +- src/components/Report/ListReport.vue | 64 +++++++++++++------------- src/pages/ChartOfAccounts.vue | 4 +- src/pages/DataImport.vue | 4 +- src/pages/Desk.vue | 2 +- src/styles/index.css | 8 ++++ 6 files changed, 45 insertions(+), 41 deletions(-) diff --git a/reports/GeneralLedger/GeneralLedger.ts b/reports/GeneralLedger/GeneralLedger.ts index 437984cd..c37c4740 100644 --- a/reports/GeneralLedger/GeneralLedger.ts +++ b/reports/GeneralLedger/GeneralLedger.ts @@ -279,7 +279,7 @@ export class GeneralLedger extends Report { 'reverts', ]; - const filters = {} ?? this._getQueryFilters(); + const filters = this._getQueryFilters(); const entries = (await this.fyo.db.getAllRaw( ModelNameEnum.AccountingLedgerEntry, { @@ -493,8 +493,6 @@ export class GeneralLedger extends Report { /** * TODO: Order by date and then the number * TODO: Something is wrong with dummy data, there are entries from 2022 Dec - * TODO: Add pagination * TODO: Always visible scrollbar - * TODO: Extract out list view report to a different component */ } diff --git a/src/components/Report/ListReport.vue b/src/components/Report/ListReport.vue index bc9dcf8c..b20da728 100644 --- a/src/components/Report/ListReport.vue +++ b/src/components/Report/ListReport.vue @@ -1,9 +1,9 @@