fix(pos): variable typo: s_pos -> is_pos

Signed-off-by: Sabu Siyad <hello@ssiyad.com>
This commit is contained in:
Sabu Siyad 2022-12-12 19:09:00 +05:30
parent 915e0347b0
commit 7d64bf78cf
No known key found for this signature in database
GPG Key ID: BA37A2A8DD8C37EE

View File

@ -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();