From aea29b0394b5a29794113663e9d70ff0b0d66c63 Mon Sep 17 00:00:00 2001 From: AbleKSaju <126228406+AbleKSaju@users.noreply.github.com> Date: Fri, 20 Dec 2024 09:09:20 +0530 Subject: [PATCH] feat: add option to display time in templates --- models/baseModels/PrintSettings/PrintSettings.ts | 1 + schemas/app/PrintSettings.json | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/models/baseModels/PrintSettings/PrintSettings.ts b/models/baseModels/PrintSettings/PrintSettings.ts index e2cae51f..bdbad09c 100644 --- a/models/baseModels/PrintSettings/PrintSettings.ts +++ b/models/baseModels/PrintSettings/PrintSettings.ts @@ -11,6 +11,7 @@ export class PrintSettings extends Doc { color?: string; font?: string; displayLogo?: boolean; + displayTime?: boolean; amountInWords?: boolean; override hidden: HiddenMap = {}; } diff --git a/schemas/app/PrintSettings.json b/schemas/app/PrintSettings.json index d7eed41d..359a4ec0 100644 --- a/schemas/app/PrintSettings.json +++ b/schemas/app/PrintSettings.json @@ -120,6 +120,12 @@ "label": "Display Amount In Words", "fieldtype": "Check", "section": "Customizations" + }, + { + "fieldname": "displayTime", + "label": "Display Time In Invoice", + "fieldtype": "Check", + "section": "Customizations" } ] }