From: Kathy Lussier Date: Sat, 5 Mar 2016 01:51:04 +0000 (-0500) Subject: LP#1576502 Fulfilled holds also should not display as active X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=463ac7ecfe29760e6f520e97e7145813c939ead9;p=evergreen%2Ftadl.git LP#1576502 Fulfilled holds also should not display as active Once a hold has been fulfilled, the patron doesn't consider it active, so let's change the active status for those holds too. Signed-off-by: Kathy Lussier Signed-off-by: Mike Rylander --- diff --git a/Open-ILS/src/templates/opac/myopac/hold_history.tt2 b/Open-ILS/src/templates/opac/myopac/hold_history.tt2 index 3b8abb9310..9aae602297 100644 --- a/Open-ILS/src/templates/opac/myopac/hold_history.tt2 +++ b/Open-ILS/src/templates/opac/myopac/hold_history.tt2 @@ -60,7 +60,7 @@ [% l('Author') %] [% l('Format') %] [% l('Pickup Location') %] - [% l('Active On') %] + [% l('Activate') %] [% l('Active') %] [% l('Date Fulfilled') %] [% l('Status') %] @@ -102,11 +102,13 @@ END %] - [% IF hold.hold.status == 6 %] - [% l('Canceled') %] - [% ELSE %] - [% l(ahr.frozen == 'f' ? 'Active' : 'Suspended') %] - [% END %] + [% IF ahr.fulfillment_time; + l('Fulfilled'); + ELSIF hold.hold.status == 6; + l('Canceled'); + ELSE; + l(ahr.frozen == 'f' ? 'Active' : 'Suspended'); + END %] [% IF ahr.fulfillment_time;