Merge pull request #33300 from ssiyad/fix/pos/var_typo
fix(pos): variable typo: `s_pos` -> `is_pos`
This commit is contained in:
commit
5ea6080a6e
@ -58,7 +58,7 @@ erpnext.taxes_and_totals = class TaxesAndTotals extends erpnext.payments {
|
|||||||
|
|
||||||
if (
|
if (
|
||||||
in_list(["Sales Invoice", "POS Invoice"], this.frm.doc.doctype)
|
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.frm.doc.is_return
|
||||||
) {
|
) {
|
||||||
this.set_total_amount_to_default_mop();
|
this.set_total_amount_to_default_mop();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user