JBAS-1587 CC always avoids negative transactions
authorBill Erickson <berickxx@gmail.com>
Fri, 16 Sep 2016 14:47:11 +0000 (10:47 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Mar 2019 19:46:23 +0000 (15:46 -0400)
commitb1c26178cd4caef68f91a33d9a9c5f18ef67a239
treed680cd3fe48562240be6025c80d9fa5f062091eb
parent191031f18357869e88cbd0aef5f1d49a09824964
JBAS-1587 CC always avoids negative transactions

At the middle layer, prevent the credit card transaction retrieval code
from ever accessing negative transactions.  This fixes a bug where
patrons could accidentally attempt to pay against negative transactions
by navigating directly to /eg/opac/biblio/main_payment_form with no
transactions provided in the URL, defaulting to all open (including
negative) transactions.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
KCLS/openils/var/templates_kcls/opac/biblio/main_fines.tt2
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm