LP#1716962 - honor In-House Use: num of uses threshold setting user/cesardv/lp1716962_inhouse_use_num_confirm_modal
authorCesar Velez <Cesar.Velez@equinoxinitiative.org>
Wed, 27 Sep 2017 17:16:04 +0000 (18:16 +0100)
committerCesar Velez <cesar.velez@equinoxinitiative.org>
Wed, 27 Sep 2017 17:34:14 +0000 (13:34 -0400)
commit892dbe382d67bb85203a73bc5896dd6db8b7f431
tree56dc9e49cca201c1f113efc9535ca126edfd9faf
parenta0d5e2f731d8cbf3b3b9fffc3726d98f3e5d30e9
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>
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