[% PROCESS "default/opac/parts/header.tt2"; PROCESS "default/opac/parts/marc_misc.tt2"; WRAPPER "default/opac/parts/base.tt2" + "default/opac/parts/myopac/base.tt2"; myopac_page = "holds" %]
[% IF CGI.param("available"); l("Items Ready for Pickup"); ELSE; l("Current Items on Hold"); END %] Export List
Holds Help [% l("Show") %]     [% IF CGI.param("available") %] [% l('all') %] | [% l("only available") %] [% ELSE %] [% l("all") %] | [% l("only available") %] [% END %]     [% l("holds") %]
[% IF ctx.holds.size < 1 %]
[% l('No holds found.') %]
[% ELSE %]
Title Author Format Pickup Location Activate Cancel if not
filled by
Active Status
[% FOR hold IN ctx.holds; attrs = {marc_xml => hold.marc_xml}; PROCESS get_marc_attrs args=attrs %] [% END %]
[% IF attrs.format_icon %] [% attrs.format %] [% ELSE; attrs.format; END %]
[% ctx.find_aou(hold.hold.hold.pickup_lib).name %] [% IF hold.hold.hold.frozen == 't' AND hold.hold.hold.thaw_date; date.format(ctx.parse_datetime(hold.hold.hold.thaw_date), DATE_FORMAT); END %] [% IF hold.hold.hold.expire_time; date.format(ctx.parse_datetime(hold.hold.hold.expire_time), DATE_FORMAT); END %] [% l(hold.hold.hold.frozen == 'f' ? 'Active' : 'Suspended') %]
[% IF hold.hold.status == 4; l("Available"); ELSIF hold.hold.estimated_wait; l("Estimated wait (days): "); hold.hold.estimated_wait; ELSIF hold.hold.status == 3; l("In Transit"); ELSIF hold.hold.status < 3; l("Waiting for copy"); END; %]
Edit Save Back
[% END %]
[% l("Are you sure you wish to cancel the selected holds?") %] [% l("Are you sure you wish to suspend the selected holds? If an item has already been selected to fulfill the hold, it will not be suspended") %] [% l("Are you sure you wish to activate the selected holds?") %] [% l("Are you sure you wish to change the activate date for the selected holds?") %] [% l("Select an automatic activation date. If no date is chosen, the holds will remain suspended until they are manually activated.") %]
[% l("Processing holds... This may take a moment.") %]
[% l("If you wish to cancel the selected hold, click OK, otherwise click Cancel.") %]
[% l("Select an automatic activation date. If no date is chosen, the holds will remain suspended until they are manually activated.") %]

[% END %]