mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-20 21:49:18 +00:00
Merge pull request #33322 from frappe/mergify/bp/version-14-hotfix/pr-33300
fix(pos): variable typo: `s_pos` -> `is_pos` (backport #33300)
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user