fix: Resolve conflicts
This commit is contained in:
parent
631545aa32
commit
e30cc8422c
@ -272,16 +272,12 @@ erpnext.taxes_and_totals = class TaxesAndTotals extends erpnext.payments {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
calculate_shipping_charges() {
|
calculate_shipping_charges() {
|
||||||
=======
|
|
||||||
calculate_shipping_charges: function() {
|
|
||||||
// Do not apply shipping rule for POS
|
// Do not apply shipping rule for POS
|
||||||
if (this.frm.doc.is_pos) {
|
if (this.frm.doc.is_pos) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
>>>>>>> c0ebcfb393 (fix: Do not apply shipping rule for POS transactions)
|
|
||||||
frappe.model.round_floats_in(this.frm.doc, ["total", "base_total", "net_total", "base_net_total"]);
|
frappe.model.round_floats_in(this.frm.doc, ["total", "base_total", "net_total", "base_net_total"]);
|
||||||
if (frappe.meta.get_docfield(this.frm.doc.doctype, "shipping_rule", this.frm.doc.name)) {
|
if (frappe.meta.get_docfield(this.frm.doc.doctype, "shipping_rule", this.frm.doc.name)) {
|
||||||
this.shipping_rule();
|
this.shipping_rule();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user