From 5816a13cec9fbe31343bba2328fa1b69282d5d47 Mon Sep 17 00:00:00 2001 From: erickson Date: Thu, 27 Jul 2006 17:20:05 +0000 Subject: [PATCH] not checking copy status on renewal git-svn-id: svn://svn.open-ils.org/ILS/trunk@5124 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/javascript/backend/circ/circ_permit_copy.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Open-ILS/src/javascript/backend/circ/circ_permit_copy.js b/Open-ILS/src/javascript/backend/circ/circ_permit_copy.js index 2d7cb9c99f..89e7e99ec3 100644 --- a/Open-ILS/src/javascript/backend/circ/circ_permit_copy.js +++ b/Open-ILS/src/javascript/backend/circ/circ_permit_copy.js @@ -16,9 +16,11 @@ if( ! isOrgDescendent( 'STATELIB', copy.circ_lib.id ) ) { -if(copyStatus != 'Available' && - copyStatus != 'On holds shelf' && copyStatus != 'Reshelving' ) { - result.events.push('COPY_NOT_AVAILABLE'); +if( ! isTrue(isRenewal) ) { + if(copyStatus != 'Available' && + copyStatus != 'On holds shelf' && copyStatus != 'Reshelving' ) { + result.events.push('COPY_NOT_AVAILABLE'); + } } -- 2.43.2