From: phasefx Date: Wed, 9 Aug 2006 03:26:21 +0000 (+0000) Subject: handle PATRON_INACTIVE just in case X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=15042ae25b0c9458bf9da3d7ff780b0a3a9f3983;p=Evergreen.git handle PATRON_INACTIVE just in case git-svn-id: svn://svn.open-ils.org/ILS/trunk@5396 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/xul/staff_client/server/circ/checkout.js b/Open-ILS/xul/staff_client/server/circ/checkout.js index 0a08ff8e57..18d231942e 100644 --- a/Open-ILS/xul/staff_client/server/circ/checkout.js +++ b/Open-ILS/xul/staff_client/server/circ/checkout.js @@ -476,6 +476,11 @@ circ.checkout.prototype = { case 1215 /* CIRC_EXCEEDS_COPY_RANGE */ : found_handled = true; break; + case 1217 /* PATRON_INACTIVE */ : + found_handled = true; + msg += 'This patron is inactive and may not circulate items.\n'; + obj.error.yns_alert(msg,'Check Out Failed','OK',null,null,'Check here to confirm this message'); + break; case 7013 /* PATRON_EXCEEDS_FINES */ : found_handled = true; break;