LP#1706148 - Hide "Hold is behind Circ Desk" checkbox in XUL patron registration. user/stompro/lp1706148_hide_behind_desk_option
authorJosh Stompro <stomproj@larl.org>
Mon, 24 Jul 2017 18:51:55 +0000 (13:51 -0500)
committerJosh Stompro <stomproj@larl.org>
Mon, 24 Jul 2017 18:51:55 +0000 (13:51 -0500)
commit1a0c199ba4ab79f2155dc08dd4ddd2254227166f
tree0fd76cb05a8d03c16046f7ce80f782f2713c8675
parent2fb49f840683d10e1d7c84722d0d5d49e46b17c6
LP#1706148 - Hide "Hold is behind Circ Desk" checkbox in XUL patron registration.

When the library setting for "Behind Desk Pickup Supported" is not enabled then
the checkbox for "Hold is behind Circ Desk" should be hidden.

Test Plan - before fix:
  1. Check to make sure that the "Behind Desk Pickup Supported" library setting is
     unset or false.
  2. Open the patron registration screen in the XUL staff client and see that the
     user settings checkbox for "Hold is behind Circ Desk" exists.

After Fix Applied:
  1. Check to make sure that the "Behind Desk Pickup Supported" library setting is
     unset or false.
  2. Open the patron registration screen in the XUL staff client and see that the
     user settings checkbox for "Hold is behind Circ Desk" no longer is shown.
  3. Change the library setting in question to True.
  4. Reload/reopen the patron registration screen and see that the checkbox now
     is visible.

Signed-off-by: Josh Stompro <stomproj@larl.org>
Open-ILS/web/js/ui/default/actor/user/register.js