},
'hold_slip' : {
'type' : 'holds',
- 'header' : 'This item needs to be routed to <b>HOLDS SHELF</b>:<br/>\r\n',
+ 'header' : 'This item needs to be routed to <b>%route_to%</b>:<br/>\r\n',
'line_item' : 'Barcode: %item_barcode%<br/>\r\nTitle: %item_title%<br/>\r\n<br/>\r\n%hold_for_msg%<br/>\r\nBarcode: %PATRON_BARCODE%<br/>\r\nNotify by phone: %notify_by_phone%<br/>\r\nNotify by email: %notify_by_email%<br/>\r\n<br/>\r\nRequest date: <br/>\r\n',
'footer' : 'Slip Date: %TODAY_TRIM%<br/>\r\nPrinted by %STAFF_FIRSTNAME% at %SHORTNAME%<br/>\r\n<br/>\r\n'
},
}
break;
case 8: /* ON HOLDS SHELF */
- check.route_to = 'HOLDS SHELF';
+ check.route_to = document.getElementById('circStrings').getString('staff.circ.route_to.hold_shelf');
if (check.payload.hold) {
if (check.payload.hold.pickup_lib() != data.list.au[0].ws_ou()) {
var err_msg = document.getElementById('commonStrings').getString('common.error');
} else {
print_data.route_to_msg = document.getElementById('circStrings').getFormattedString('staff.circ.utils.route_to.msg', [check.route_to]);
print_data.route_to = check.route_to;
+ var behind_the_desk_support = String( data.hash.aous['circ.holds.behind_desk_pickup_supported'] ) == 'true';
+ if (behind_the_desk_support) {
+ var usr_settings = network.simple_request('FM_AUS_RETRIEVE',[ses(),check.payload.hold.usr()]);
+ if (typeof usr_settings['circ.holds_behind_desk'] != 'undefined') {
+ print_data.prefer_behind_holds_desk = true;
+ check.route_to = document.getElementById('circStrings').getString('staff.circ.route_to.private_hold_shelf');
+ print_data.route_to_msg = document.getElementById('circStrings').getFormattedString('staff.circ.utils.route_to.msg', [check.route_to]);
+ print_data.route_to = check.route_to;
+ } else {
+ check.route_to = document.getElementById('circStrings').getString('staff.circ.route_to.public_hold_shelf');
+ print_data.route_to_msg = document.getElementById('circStrings').getFormattedString('staff.circ.utils.route_to.msg', [check.route_to]);
+ print_data.route_to = check.route_to;
+ }
+ }
msg += print_data.route_to_msg;
msg += '\n';
}
staff.circ.hold_capture.no_external=circ.hold_capture: No external .on_hold_capture()
staff.circ.hold_capture.capture_failed=Could not capture hold.
staff.circ.hold_capture.error=FIXME: need special alert and error handling
+staff.circ.route_to.hold_shelf=HOLD SHELF
+staff.circ.route_to.public_hold_shelf=PUBLIC HOLD SHELF
+staff.circ.route_to.private_hold_shelf=PRIVATE HOLD SHELF
staff.circ.in_house_use.tab_name=In-House Use
staff.circ.in_house_use.barcode=Barcode:
staff.circ.in_house_use.noncat_sort_error=error in noncat sorting: