LP#1494544 Complete XUL UI for adjustment vs. void options user/dbwells/lp1494544_better_void_adjust_perms_and_ui
authorDan Wells <dbw2@calvin.edu>
Tue, 15 Sep 2015 19:28:44 +0000 (15:28 -0400)
committerDan Wells <dbw2@calvin.edu>
Tue, 15 Sep 2015 19:40:41 +0000 (15:40 -0400)
commit84d8b8c845da348e5f2b7f6089eb976fae31403a
tree8e9f8b6f1f3a975772c0c7111acacf2f77407090
parent3d8d8a897ba8d04f04be8c9c692d807c34effc11
LP#1494544 Complete XUL UI for adjustment vs. void options

This commit does several things to complete the adjustment UI changes.

1) Adds "Adjust to Zero" to the "Actions" menu.  It was previously only
on the right-click popup.
2) Shows or hides the void/adjustment controls based on permissions.
3) Generates a new force-verified warning if you attempt to void, but
there is also some chance that doing so would be contrary to your
negative balance policy settings.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/xul/staff_client/server/locale/en-US/patron.properties
Open-ILS/xul/staff_client/server/patron/bill2.js
Open-ILS/xul/staff_client/server/patron/bill2.xul
Open-ILS/xul/staff_client/server/patron/bill_details.js