LP#1743262 CC external payment requires app. code
authorBill Erickson <berickxx@gmail.com>
Mon, 5 Feb 2018 21:24:38 +0000 (16:24 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Mon, 5 Feb 2018 22:06:27 +0000 (17:06 -0500)
commit0c40f4ba56cdabc0679b6ba4b30202a9c9a1c89e
treea428db254f4428e4ac338357cec2435fb119cff4
parent5bd6cde54bd8455c3aa00c6b2ec50bc74f3ed372
LP#1743262 CC external payment requires app. code

1. Indicate in the CC form that the approval_code field is required,
   styled consistently with the patron edit app.

2. Prevent the form dialog from closing via Submit when no approval code
   is set.

3. Handle payment failures better by preventing the post-API code from
   running (i.e. receipt printing) when the API fails.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/templates/staff/circ/patron/t_cc_payment_dialog.tt2
Open-ILS/src/templates/staff/css/circ.css.tt2
Open-ILS/web/js/ui/default/staff/circ/patron/bills.js