[% PROCESS "default/opac/parts/header.tt2"; PROCESS "default/opac/parts/misc_util.tt2"; WRAPPER "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; ahr = hold.hold.hold %] [% END %]
[% IF attrs.format_icon %] [% attrs.format %] [% ELSE; attrs.format; END %]
[% ctx.get_aou(ahr.pickup_lib).name %] [% IF ahr.frozen == 't' AND ahr.thaw_date; date.format(ctx.parse_datetime(ahr.thaw_date), DATE_FORMAT); END %] [% IF ahr.expire_time; date.format(ctx.parse_datetime(ahr.expire_time), DATE_FORMAT); END %] [% l(ahr.frozen == 'f' ? 'Active' : 'Suspended') %]
[% PROCESS get_hold_status hold=hold; %]
Edit
[% 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 %]