]> git.evergreen-ils.org Git - working/Evergreen.git/commit
lp1494427: Fix refund error
authorKathy Lussier <klussier@masslnc.org>
Fri, 11 Sep 2015 17:54:32 +0000 (13:54 -0400)
committerJason Stephenson <jstephenson@mvlc.org>
Tue, 15 Sep 2015 13:15:55 +0000 (09:15 -0400)
commit4efea97f1385be94a5d94caff7dae7dd9136e77f
tree04122870fdd5873d751cbaf721ec299532a26047
parent000cf61a0c9182e6edb5b3fd67b09c39eeb8c647
lp1494427: Fix refund error

Fixes an error that occurs when attempting to refund a negative balance from
the patron's bill record. We removed the staff.patron.bills.handle_refund.
confirm_message string, which caused the error when the handle_refund function
tried to retrieve the string. It turns out the string never displayed in the
client. Therefore, in this branch, we stop the handle_refund function from
trying to retrieve the string. I did the confirmation message for the
adjust_to_zero function since the same issue was occurring there.

Test case: Find a negative balance transaction and, from the patron's bills
record, select the transaction and select the option to Refund. Pre-patch, this
action will generate an error message. Post-patch, this action should generate
a prompt asking the user to confirm the action.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Open-ILS/xul/staff_client/server/locale/en-US/patron.properties
Open-ILS/xul/staff_client/server/patron/bill2.js