From afbd48f26e67235866c289492b3664a6d402af31 Mon Sep 17 00:00:00 2001 From: Sabu Siyad Date: Mon, 12 Dec 2022 19:09:00 +0530 Subject: [PATCH] fix(pos): variable typo: `s_pos` -> `is_pos` Signed-off-by: Sabu Siyad (cherry picked from commit 7d64bf78cf7f0f27f991d30ff04e90569dfbba20) --- 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 74810005ed91..1f8a5e39f25c 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.s_pos + && this.frm.doc.is_pos && this.frm.doc.is_return ) { this.set_total_amount_to_default_mop();