fix(pos): variable typo: s_pos
-> is_pos
Signed-off-by: Sabu Siyad <hello@ssiyad.com>
This commit is contained in:
parent
915e0347b0
commit
7d64bf78cf
@ -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