chore: resolve conflict

This commit is contained in:
Diptanil Saha
2025-12-09 17:17:27 +05:30
committed by GitHub
parent b4053ee0d8
commit af067d1c00

View File

@@ -126,13 +126,8 @@ erpnext.accounts.PurchaseInvoice = class PurchaseInvoice extends erpnext.buying.
}
}
<<<<<<< HEAD
if (doc.outstanding_amount > 0 && !cint(doc.is_return) && !doc.on_hold) {
cur_frm.add_custom_button(
=======
if (doc.docstatus == 1 && doc.outstanding_amount > 0 && !cint(doc.is_return) && !doc.on_hold) {
this.frm.add_custom_button(
>>>>>>> f26ee9e546 (fix: ensure payment request button only shows for submitted invoices)
__("Payment Request"),
function () {
me.make_payment_request();