From 264c3e5a94afc071df5f05104b958b447bf98897 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Wed, 29 Oct 2014 17:07:19 -0400 Subject: [PATCH] KMAIN-3: Autopopulate barcode from patron holds tab on staff place hold Cross-port: 09a9561 --- .../var/templates_kcls/opac/parts/place_hold.tt2 | 58 ++++++++++++---------- 1 file changed, 31 insertions(+), 27 deletions(-) diff --git a/KCLS/openils/var/templates_kcls/opac/parts/place_hold.tt2 b/KCLS/openils/var/templates_kcls/opac/parts/place_hold.tt2 index 4ca91534ee..b7b1f614f4 100644 --- a/KCLS/openils/var/templates_kcls/opac/parts/place_hold.tt2 +++ b/KCLS/openils/var/templates_kcls/opac/parts/place_hold.tt2 @@ -4,7 +4,7 @@

[% l('Place Hold') %]

-
+ [% redirect = CGI.param('hold_source_page') || CGI.param('redirect_to') || CGI.referer; @@ -18,11 +18,11 @@ + /> -
+
0 %]
- [% hdata.part_required ? l('Select a Part:') : l('Select a Part (optional):') %] - [% IF !hdata.part_required %] [% END %] @@ -67,10 +69,10 @@

- [% l('Pickup location:') %] + [%- org_select_id = 'pickup_lib'; -%] + [% PROCESS "opac/parts/org_selector.tt2"; - INCLUDE build_org_selector name='pickup_lib' - value=ctx.default_pickup_lib id='pickup_lib' can_have_vols_only=1 hold_pickup_lib=1 %] + INCLUDE build_org_selector name='pickup_lib' value=ctx.default_pickup_lib id=org_select_id can_have_vols_only=1 %]

@@ -78,46 +80,48 @@ services, please select "Outreach" to have the item delivered during your scheduled visit.[% END %]

- + - -        + [% l('Cancel') %] -

+

[% |l %]* If you need your item today, and it is checked in at your library, please place your hold and then call your library to set it -- 2.11.0