From 8f0f1545499093d8d4086f404eee2c5af64993ad Mon Sep 17 00:00:00 2001 From: 18alantom <2.alan.tom@gmail.com> Date: Fri, 2 Jun 2023 13:06:31 +0530 Subject: [PATCH] fix(ux): space between label - use PrintSettings.companyName instead --- src/utils/printTemplates.ts | 3 ++- templates/Minimal.template.html | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/utils/printTemplates.ts b/src/utils/printTemplates.ts index 1df1d1bb..8b189d13 100644 --- a/src/utils/printTemplates.ts +++ b/src/utils/printTemplates.ts @@ -20,8 +20,9 @@ const printSettingsFields = [ 'email', 'phone', 'address', + 'companyName', ]; -const accountingSettingsFields = ['companyName', 'gstin']; +const accountingSettingsFields = ['gstin']; export async function getPrintTemplatePropValues( doc: Doc diff --git a/templates/Minimal.template.html b/templates/Minimal.template.html index 6b158bb4..697c0577 100644 --- a/templates/Minimal.template.html +++ b/templates/Minimal.template.html @@ -20,7 +20,7 @@

- {{ doc.entryType }} + {{ doc.entryLabel }}

{{ doc.name }}