Merge pull request #33300 from ssiyad/fix/pos/var_typo

fix(pos): variable typo: `s_pos` -> `is_pos`
This commit is contained in:
Nabin Hait 2022-12-13 15:21:10 +05:30 committed by GitHub
commit 5ea6080a6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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