LP#1729934 Webstaff penalty create org/depth repair
authorBill Erickson <berickxx@gmail.com>
Fri, 5 Jan 2018 19:55:56 +0000 (14:55 -0500)
committerBill Erickson <berickxx@gmail.com>
Thu, 29 Mar 2018 21:15:04 +0000 (17:15 -0400)
commit6fe47554e37aa0469b8566f2cf171a258fd93d4e
treef0adaf9a6e9d76caafba3b9f5fc2aa36f3ebd299
parent55b1aa7c1b6487355d71787220285e68796277c5
LP#1729934 Webstaff penalty create org/depth repair

Apply correct org unit to patron penalties created in the web staff
client.  Specifically, be sure the standing penalty depth value is
honored when set.

Commit replaces manual pcrud creation with the XUL-tested API, which
calculates the correct org unit by depth for us.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Open-ILS/web/js/ui/default/staff/circ/services/circ.js