From ddca02104bed9e6917f0e2db33417d6ff3a440f9 Mon Sep 17 00:00:00 2001 From: 18alantom <2.alan.tom@gmail.com> Date: Thu, 10 Nov 2022 22:15:33 +0530 Subject: [PATCH] fix(ui): display report filter names --- reports/GeneralLedger/GeneralLedger.ts | 2 +- src/components/Controls/Check.vue | 2 +- src/pages/Report.vue | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/reports/GeneralLedger/GeneralLedger.ts b/reports/GeneralLedger/GeneralLedger.ts index a2f356e2..6c3c8c7c 100644 --- a/reports/GeneralLedger/GeneralLedger.ts +++ b/reports/GeneralLedger/GeneralLedger.ts @@ -299,7 +299,7 @@ export class GeneralLedger extends LedgerReport { }, { fieldtype: 'DynamicLink', - label: t`Ref Name`, + label: t`Ref. Name`, references: 'referenceType', placeholder: t`Ref Name`, emptyMessage: t`Change Ref Type`, diff --git a/src/components/Controls/Check.vue b/src/components/Controls/Check.vue index c40f13c9..6d5603eb 100644 --- a/src/components/Controls/Check.vue +++ b/src/components/Controls/Check.vue @@ -103,7 +103,7 @@ export default { return this.labelClass; } - return 'text-gray-600 text-sm'; + return 'text-gray-600 text-base'; }, checked() { return this.value; diff --git a/src/pages/Report.vue b/src/pages/Report.vue index d6349dff..3f306770 100644 --- a/src/pages/Report.vue +++ b/src/pages/Report.vue @@ -22,7 +22,8 @@ v-for="field in report.filters" :border="true" size="small" - :show-label="field.fieldtype === 'Check'" + :class="[field.fieldtype === 'Check' ? 'self-end' : '']" + :show-label="true" :key="field.fieldname + '-filter'" :df="field" :value="report.get(field.fieldname)"