mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-19 04:59:18 +00:00
chore: resolve conflict
This commit is contained in:
@@ -932,14 +932,6 @@ erpnext.taxes_and_totals = class TaxesAndTotals extends erpnext.payments {
|
|||||||
var me = this;
|
var me = this;
|
||||||
var payment_status = true;
|
var payment_status = true;
|
||||||
if(this.frm.doc.is_pos && (update_paid_amount===undefined || update_paid_amount)) {
|
if(this.frm.doc.is_pos && (update_paid_amount===undefined || update_paid_amount)) {
|
||||||
<<<<<<< HEAD
|
|
||||||
let r = await frappe.db.get_value("POS Profile", this.frm.doc.pos_profile, "disable_grand_total_to_default_mop");
|
|
||||||
|
|
||||||
if (r.message.disable_grand_total_to_default_mop) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
=======
|
|
||||||
>>>>>>> 871b8473fa (fix: remove api call to set default payments)
|
|
||||||
|
|
||||||
$.each(this.frm.doc['payments'] || [], function(index, data) {
|
$.each(this.frm.doc['payments'] || [], function(index, data) {
|
||||||
if(data.default && payment_status && total_amount_to_pay > 0) {
|
if(data.default && payment_status && total_amount_to_pay > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user