LP#1743262 CC external payment requires app. code user/berick/lp1743262-ecom-appr-code-required
authorBill Erickson <berickxx@gmail.com>
Mon, 5 Feb 2018 21:24:38 +0000 (16:24 -0500)
committerBill Erickson <berickxx@gmail.com>
Mon, 5 Feb 2018 21:24:45 +0000 (16:24 -0500)
commit5b354514d863243ebc46b378734347404a4fd3de
tree403334ae66610c4cd7317505858004429445aa1f
parent8410fdace48ceb10f0cb9e84294d15a8f5adff9a
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