update payment screen to allow for paying multiple invoices #16
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When paying an invoice via credit card i would like an option to pay additional invoices. I think the way i would do is have a check box on the payment popup screen that says pay additional invoices. When check the system can run a search on the customer and pull in a table of info with all his unpaid invoices. There should be a selector check box on the left and we can pick any of the additional invoices to be paid.
Single charge or multiple charges?
When the user selects 3 additional invoices, do you want one combined charge for the total of all selected invoices or separate charges per invoice
AutoPay path too?
Should the "pay additional invoices" option appear on both paths or only the manual card entry path?
What happens to the Payment Entries?
If 3 invoices are paid in one charge, do you want one Payment Entry allocated across all 3 invoices or separate Payment Entries per invoice all referencing the same transaction ID?
The current invoice
The dialog already opens for a specific invoice (frm.doc.name). When additional invoices are selected, is the current invoice always included in the charge, or could a user theoretically uncheck it?
What columns do you want in the additional invoices table to identify the invoices? I'm assuming invoice number.
See answers below.
Single charge or multiple charges?
When the user selects 3 additional invoices, do you want one combined charge for the total of all selected invoices or separate charges per invoice
Let's do one combined charge. that should mean less api calls.
AutoPay path too?
Should the "pay additional invoices" option appear on both paths or only the manual card entry path?
It only needs to be available for manual entry. It is assumed autopay invoices are paid at creation.
What happens to the Payment Entries?
If 3 invoices are paid in one charge, do you want one Payment Entry allocated across all 3 invoices or separate Payment Entries per invoice all referencing the same transaction ID?
It can all be in one payment entry, similar to opt 1
The current invoice
The dialog already opens for a specific invoice (frm.doc.name). When additional invoices are selected, is the current invoice always included in the charge, or could a user theoretically uncheck it?
I'd say onece multiple invoices is checked that the current invoice is just another invoice in the table but checked by default. If the user needs to uncheck it i don't see why that option couldn't be there.
What columns do you want in the additional invoices table to identify the invoices? I'm assuming invoice number.
invoice number, date, customer name, and total.
Frontend functionality is working on the dev server. I need to test actually running payments with it yet.
Finished and tested. 6/11/26