mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 10:49:09 +00:00
fix: Resolve conflicts
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user