]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP1775639: Refresh required to see Patron Credit
authora. bellenir <abelleni@grpl.org>
Mon, 11 Mar 2019 17:39:00 +0000 (13:39 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Thu, 23 May 2019 22:04:09 +0000 (18:04 -0400)
commit1a4a74a839a999db763b6eb3ab7469e467cccacb
treefc62c585b4c5082c0de1dfe44d31153c903588b0
parent3ac2009398beecf0143f443f40d8b8b028dc6967
LP1775639: Refresh required to see Patron Credit

reload patron data when applying a payment
if the payment will change the patron's credit forward balance.

To test
-------
[1] Bill a patron, then make sure that the "Convert Change to Patron
    Credit" checkbox is checked. Pay bill with more than the total
    balance. Note that the Credit Available amount in the billing
    summary does not change. Refresh the page.
[2] Bill a patron, then use the patron credit added in step 1 to
    pay off the bill. Note that again, the Credit Available amount
    does not change.
[3] Apply the patch and repeats steps 1 and 2. This time, the Credit
    Available field should get updated.

Signed-off-by: a. bellenir <abelleni@grpl.org>
Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/web/js/ui/default/staff/circ/patron/bills.js