Go to main content
\( \def\WIPO{World Intellectual Property Organisation} \)
Formats
Format
BibTeX
MARCXML
TextMARC
MARC
DataCite
DublinCore
EndNote
NLM
RefWorks
RIS

Items

'; var dialog = bootbox.alert({ message: message, closeButton: false, buttons: {}, className: "holdings-alert" }).on("click", "button", function () { dialog.modal("hide"); }); } function place_hold(barcode, requester_id) { $.ajax({ 'url': "/bibcirculation/place_hold", 'data': { 'barcode': barcode, 'requester_id': requester_id }, 'success': function (response) { if (response.success) { showResult("hold", "success", ""); } else { showResult("hold", "error", response.error); } } }); } function recall_item(barcode, requester_id, force) { $.ajax({ 'url': "/bibcirculation/recall_item", 'data': { 'barcode': barcode, // 'force': force 'requester_id': requester_id }, 'success': function (response) { if (response.success) { showResult("recall", "success", ""); } else { showResult("recall", "error", response.error); } } }); } function createRequestModalv2(holding) { const barcode = holding['barcode']; function gotoPatronRecord(formData) { var patron_id = formData.requester; if (patron_id) { var url = "/admin2/bibcirculation/get_borrower_details?borrower_id=" + patron_id; window.open(url, '_blank'); } return false } function actionCallback(formData) { var request_type = formData.type.toLowerCase(); var requester_id = formData.requester; var barcode = holding['barcode']; if (request_type == "hold") { place_hold(barcode, requester_id); } if (request_type == "recall") { recall_item(barcode, requester_id); } } var buttons_config = { cancel: { label: "Close", className: "btn-default" }, ok: { label: "Confirm", className: "btn-success form-btn-confirm" } }; if (is_staff) { buttons_config.viewpatron = { label: "View Patron Record", className: "btn-primary bootbox-viewpatron form-btn-enableonvalid", callback: gotoPatronRecord } } var form_config = { title: "Create Request", buttons: buttons_config, form_name: "detailed_view_request_form", jinja_args: { barcode: barcode, is_staff: is_staff, patron_id: patron_id, ln: "en" }, callback: actionCallback }; showFormInModal(form_config); }

Details

Browse Subjects

Show more subjects...