View | Details | Raw Unified | Return to bug 27864
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt (-3 / +2 lines)
Lines 443-451 Link Here
443
                                <label for="pickup">Pickup at:</label>
443
                                <label for="pickup">Pickup at:</label>
444
                            [% UNLESS ( multi_hold ) %]
444
                            [% UNLESS ( multi_hold ) %]
445
                                <select name="pickup" id="pickup" data-biblio-id="[% biblio.biblionumber | html %]" data-patron-id="[% patron.borrowernumber | html %]">
445
                                <select name="pickup" id="pickup" data-biblio-id="[% biblio.biblionumber | html %]" data-patron-id="[% patron.borrowernumber | html %]">
446
                                    <option selected="selected" value="[% pickup | html %]">[% Branches.GetName(pickup) | html %]</option>
446
                                    [% PROCESS options_for_libraries libraries => Branches.pickup_locations({ search_params => { biblio => biblionumber, patron => patron }, selected => pickup }) %]
447
                            [% ELSE %]
447
                            [% ELSE %]
448
                                <select name="pickup" id="pickup" data-patron-id="[% patron.borrowernumber | html %]">
448
                                <select name="pickup" id="pickup_multi" data-patron-id="[% patron.borrowernumber | html %]">
449
                                    [% PROCESS options_for_libraries libraries => Branches.all({ selected => pickup, search_params => { pickup_location => 1 } }) %]
449
                                    [% PROCESS options_for_libraries libraries => Branches.all({ selected => pickup, search_params => { pickup_location => 1 } }) %]
450
                            [% END %]
450
                            [% END %]
451
                                </select>
451
                                </select>
452
- 

Return to bug 27864