Invoice no Autopay function updated.
This commit is contained in:
@@ -46,7 +46,7 @@ function run_autopay(frm, autopay_id) {
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
// TODO: Source needs updated to a correct url.
|
||||
function open_manual_payment_form(frm) {
|
||||
const dialog = new frappe.ui.Dialog({
|
||||
title: "Enter Payment",
|
||||
@@ -55,7 +55,7 @@ function open_manual_payment_form(frm) {
|
||||
fieldtype: "HTML",
|
||||
fieldname: "payment_form",
|
||||
options: `<iframe
|
||||
src="https://payments.yourprovider.com/pay?invoice=${frm.doc.name}&amount=${frm.doc.grand_total}"
|
||||
src="https://payments.provider.com/pay?invoice=${frm.doc.name}&amount=${frm.doc.grand_total}"
|
||||
style="width:100%;height:500px;border:none;"
|
||||
></iframe>`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user