LP#1716962 - honor In-House Use: num of uses threshold setting
authorCesar Velez <Cesar.Velez@equinoxinitiative.org>
Wed, 27 Sep 2017 17:16:04 +0000 (18:16 +0100)
committerMike Rylander <mrylander@gmail.com>
Mon, 16 Oct 2017 19:28:04 +0000 (15:28 -0400)
commit3175bcc916c159282f93c630a15a9f334466ed9f
tree4c86f1f6da9c4a25516cba51c746654a967acf29
parentca88dba7df64d06dff42f40261b0b28cfbb2129f
LP#1716962 - honor In-House Use: num of uses threshold setting

The 'ui.circ.in_house_use.entry_warn' library setting was not being
taken into account nor any confirmation/warning modal being shown.
This fix addresses that by watching the changes and if selected
num_uses value exceeds setting value, displays egConfirm modal.

Signed-off by: Cesar Velez <cesar.velez@equinoxinitiative.org>

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/templates/staff/base_js.tt2
Open-ILS/src/templates/staff/circ/in_house_use/index.tt2
Open-ILS/web/js/ui/default/staff/circ/in_house_use/app.js