Invoice no Autopay function updated.

This commit is contained in:
Ty Reynolds
2026-01-16 08:33:07 -05:00
parent 8efe79fb66
commit 782a88168c

View File

@@ -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>`
}