1 [% PROCESS "opac/parts/misc_util.tt2";
2 PROCESS "opac/parts/hold_error_messages.tt2";
5 <div id='holds_box' class='canvas' style='margin-top: 6px;'>
6 <h1>[% l('Place Hold') %]</h1>
8 <input type="hidden" name="hold_type" value="[% CGI.param('hold_type') | html %]" />
10 redirect = CGI.param('hold_source_page') || CGI.param('redirect_to') || CGI.referer;
11 # since we have to be logged in to get this far, return to a secure page
12 redirect = redirect.replace('^http:', 'https:')
14 <input type="hidden" name="redirect_to" value="[% redirect | html %]" />
17 <p class="staff-hold">
18 <input type="radio" id="hold_usr_is_requestor_not"
19 onchange="staff_hold_usr_input_disabler(this);"
20 name="hold_usr_is_requestor" value="0"
21 [% IF ctx.patron_recipient; ' checked="checked"'; END %] />
22 <label for="hold_usr_is_requestor_not">
23 [% l("Place hold for patron by barcode:") %]
25 <input type="text" name="hold_usr" id="hold_usr_input" value="[% ctx.patron_recipient.card.barcode | html %]" /><br />[%# XXX multi-barcode users? %]
27 <input type="radio" id="hold_usr_is_requestor"
28 onchange="staff_hold_usr_input_disabler(this);"
29 name="hold_usr_is_requestor" value="1" />
30 <label for="hold_usr_is_requestor">
31 [% l("Place this hold for me ([_1] [_2])", ctx.user.first_given_name, ctx.user.family_name) | html %]
37 <!-- loop through the holds and display status of request where appropriate -->
38 <table id='hold-items-list'>
39 [% FOR hdata IN ctx.hold_data;
40 attrs = {marc_xml => hdata.marc_xml};
41 PROCESS get_marc_attrs args=attrs %]
44 <input type="hidden" name="hold_target" value="[% hdata.target.id | html %]" />
45 <div class='hold-items-list-title'>[% attrs.title_extended | html %]</div>
52 [% l('Pickup location:') %]
53 [% PROCESS "opac/parts/org_selector.tt2";
54 PROCESS build_org_selector name='pickup_lib' value=ctx.default_pickup_lib id='pickup_lib' can_have_vols_only=1 %]
57 [% |l %]If you use the Traveling Library Center (TLC) and ABC Express
58 services, please select "Outreach" to have the item delivered
59 during your scheduled visit.[% END %]
61 <input type="submit" name="submit" value="[% l('Submit') %]" title="[% l('Submit') %]"
62 alt="[% l('Submit') %]" class="opac-button" />
63
64 <input type="reset" name="cancel" onclick="javascript:history.go(-1);"
65 value="[% l('Cancel') %]" id="holds_cancel" class="opac-button" />
69 [% |l %]* If you need your item today, and it is checked in at your
70 library, please place your hold and then call your library to set it
71 aside. Placing a hold without calling the library will increase your
73 <br /><a href="#">[% l('Library phone numbers.') %]</a>
76 [% |l %]* For best possible service, we recommend keeping
77 a printed copy of your most recent holds list.[% END %]