]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/javascript/backend/circ/circ_permit_hold.js
removed some unused circ scripts
[Evergreen.git] / Open-ILS / src / javascript / backend / circ / circ_permit_hold.js
1 function go() {
2
3 load_lib('circ/circ_lib.js');
4 log_vars('circ_permit_hold');
5
6
7 if( isTrue(patron.barred) ) 
8         result.events.push('PATRON_BARRED');
9
10 if( isTrue(copy.ref) ) 
11         result.events.push('ITEM_NOT_HOLDABLE');
12
13 if( !isTrue(copy.circulate) ) 
14         result.events.push('ITEM_NOT_HOLDABLE');
15
16
17 } go();
18
19
20