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) {
|
function open_manual_payment_form(frm) {
|
||||||
const dialog = new frappe.ui.Dialog({
|
const dialog = new frappe.ui.Dialog({
|
||||||
title: "Enter Payment",
|
title: "Enter Payment",
|
||||||
@@ -55,7 +55,7 @@ function open_manual_payment_form(frm) {
|
|||||||
fieldtype: "HTML",
|
fieldtype: "HTML",
|
||||||
fieldname: "payment_form",
|
fieldname: "payment_form",
|
||||||
options: `<iframe
|
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;"
|
style="width:100%;height:500px;border:none;"
|
||||||
></iframe>`
|
></iframe>`
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user