@@ -, +, @@ - Apply patch - Rebuild CSS - Go to the Patron Details page for a patron who has an item on loan that would fulfil an outstanding loan request. - The patron also needs to have an item on loan that cannot be renewed for some other reason, say renewal limit has been reached - Enable the "AllowRenewalLimitOverride" syspref - Return to the Patron Details page - Check the "Override renewal restrictions" checkbox - Disable the "AllowRenewalLimitOverride" syspref - Enable the "AllowRenewalOnHoldOverride" syspref - Return to the Patron Details page - Check the "Override renewal restrictions" checkbox - Enable the "AllowRenewalLimitOverride" syspref - Enable the "AllowRenewalOnHoldOverride" syspref - Return to the Patron Details page - Check the "Override renewal restrictions" checkbox - Select the item that is on hold - De-select the item - Select the item - In the "On hold due date" input box, select a due date for the item - Click "Renew or check in selected items" - In the "Renewal due date" input box, select a due date - Remove the contents of the "On hold due date" input box - Click "Renew or check in selected items" - Remove the contents of the "Renewal due date" input box - Click "Renew or check in selected items" - In the "On hold due date" input box, select a due date for the item - In the "Renewal due date" input box, select a different due date - Click "Renew all" - From the main staff client from page, choose "Circulation", then choose "Renew" - Enter the barcode of an item that you know to be on hold and submit - Choose a due date for this item, then click "Override and renew" --- koha-tmpl/intranet-tmpl/prog/js/checkouts.js | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js +++ a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js @@ -413,7 +413,7 @@ $(document).ready(function() { + ""; span_style = "display: none"; - span_class = "renewals-allowed"; + span_class = "renewals-allowed-on_reserve"; } else if ( oObj.can_renew_error == "too_many" ) { msg += "" + NOT_RENEWABLE @@ -790,9 +790,17 @@ $(document).ready(function() { if ( AllowRenewalLimitOverride || AllowRenewalOnHoldOverride ) { $( '#override_limit' ).click( function () { if ( this.checked ) { - $( '.renewals-allowed' ).show(); $( '.renewals-disabled' ).hide(); + if ( AllowRenewalLimitOverride ) { + $( '.renewals-allowed' ).show(); + $( '.renewals-disabled' ).hide(); + } + if ( AllowRenewalOnHoldOverride ) { + $( '.renewals-allowed-on_reserve' ).show(); + } } else { - $( '.renewals-allowed' ).hide(); $( '.renewals-disabled' ).show(); + $( '.renewals-allowed' ).hide(); + $( '.renewals-allowed-on_reserve' ).hide(); + $( '.renewals-disabled' ).show(); } } ).prop('checked', false); } --