From c5edbe2e2fb8e3c74d71ad91b4200d900d2f79c8 Mon Sep 17 00:00:00 2001 From: Sabu Siyad Date: Wed, 30 Nov 2022 17:12:06 +0530 Subject: [PATCH] fix(lint): trailing whitespace Signed-off-by: Sabu Siyad --- erpnext/public/js/controllers/taxes_and_totals.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/public/js/controllers/taxes_and_totals.js b/erpnext/public/js/controllers/taxes_and_totals.js index ebb7120e91c..74810005ed9 100644 --- a/erpnext/public/js/controllers/taxes_and_totals.js +++ b/erpnext/public/js/controllers/taxes_and_totals.js @@ -58,7 +58,7 @@ erpnext.taxes_and_totals = class TaxesAndTotals extends erpnext.payments { if ( in_list(["Sales Invoice", "POS Invoice"], this.frm.doc.doctype) - && this.frm.doc.is_pos + && this.frm.doc.s_pos && this.frm.doc.is_return ) { this.set_total_amount_to_default_mop();