diff --git a/schemas/app/PrintSettings.json b/schemas/app/PrintSettings.json index 53e95871..ed88843e 100644 --- a/schemas/app/PrintSettings.json +++ b/schemas/app/PrintSettings.json @@ -24,6 +24,11 @@ "label": "Display Logo in Invoice", "fieldtype": "Check" }, + { + "fieldname": "displayTaxInvoice", + "label": "Display Tax Invoice", + "fieldtype": "Check" + }, { "fieldname": "phone", "label": "Phone", @@ -133,6 +138,7 @@ "quickEditFields": [ "logo", "displayLogo", + "displayTaxInvoice", "template", "color", "font", diff --git a/src/components/SalesInvoice/Templates/BaseTemplate.vue b/src/components/SalesInvoice/Templates/BaseTemplate.vue index 6bbef962..ac60ded5 100644 --- a/src/components/SalesInvoice/Templates/BaseTemplate.vue +++ b/src/components/SalesInvoice/Templates/BaseTemplate.vue @@ -82,6 +82,7 @@ export default { color: this.printSettings.color, showHSN: this.showHSN, displayLogo: this.printSettings.displayLogo, + displayTaxInvoice: this.printSettings.displayTaxInvoice, discountAfterTax: this.doc.discountAfterTax, logo: this.printSettings.logo, companyName: this.fyo.singles.AccountingSettings.companyName, diff --git a/src/components/SalesInvoice/Templates/Basic.vue b/src/components/SalesInvoice/Templates/Basic.vue index 6ead0b28..1c93ee0c 100644 --- a/src/components/SalesInvoice/Templates/Basic.vue +++ b/src/components/SalesInvoice/Templates/Basic.vue @@ -5,6 +5,12 @@ >