From 240c6b11634e1e7b23b9388057b91c4cc3883e10 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Wed, 9 Nov 2011 15:55:50 -0500 Subject: [PATCH] TPac; disallow certain actions for captured holds In the hold edit page, where users can update the pickup library, suspend holds, etc. disallow actions that don't make sense for holds that have already been captured. These include suspending the hold and changing the expire time. This patch also replaces the confusing "Cancel" button in the hold edit interface (which does not cancel the hold) with a "Go Back" button which returns to the holds list. Signed-off-by: Bill Erickson --- Open-ILS/src/templates/opac/myopac/holds/edit.tt2 | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Open-ILS/src/templates/opac/myopac/holds/edit.tt2 b/Open-ILS/src/templates/opac/myopac/holds/edit.tt2 index 7ba1528d5a..fc2d3d9d03 100644 --- a/Open-ILS/src/templates/opac/myopac/holds/edit.tt2 +++ b/Open-ILS/src/templates/opac/myopac/holds/edit.tt2 @@ -46,6 +46,9 @@ name='pickup_lib' value=ahr.pickup_lib %] + [% IF hold.hold.status < 3 %] + [%# The following actions cannot be performed on holds that + have already been captured... %] [% l('Cancel unless filled by') %] @@ -89,14 +92,12 @@ [% l('Enter date in MM/DD/YYYY format') %] + [% END %] - - + + -- 2.11.0