Skip to content

Commit

Permalink
Merge pull request #1025 from 8848digital/issue-976
Browse files Browse the repository at this point in the history
fix : resolved issue Error while creating Payment order
  • Loading branch information
tinadn authored Jan 14, 2025
2 parents e482e07 + 8d0bd9b commit c6059cf
Show file tree
Hide file tree
Showing 3 changed files with 479 additions and 478 deletions.
3 changes: 3 additions & 0 deletions erpnext/accounts/doctype/payment_request/payment_request.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,6 @@ frappe.ui.form.on("Payment Request", "is_a_subscription", function (frm) {
}
});

frappe.ui.form.on("Payment Request", "is_payment_order_required", function (frm) {
frm.toggle_reqd("bank_account", frm.doc.is_payment_order_required);
})
Loading

0 comments on commit c6059cf

Please sign in to comment.