Lines 465-478
Link Here
|
465 |
[% UNLESS ( multi_hold ) %] |
465 |
[% UNLESS ( multi_hold ) %] |
466 |
<select name="pickup" id="pickup" data-biblio-id="[% biblio.biblionumber | html %]" data-patron-id="[% patron.borrowernumber | html %]"> |
466 |
<select name="pickup" id="pickup" data-biblio-id="[% biblio.biblionumber | html %]" data-patron-id="[% patron.borrowernumber | html %]"> |
467 |
[% PROCESS options_for_libraries libraries => Branches.pickup_locations({ search_params => { biblio => biblionumber, patron => patron }, selected => pickup }) %] |
467 |
[% PROCESS options_for_libraries libraries => Branches.pickup_locations({ search_params => { biblio => biblionumber, patron => patron }, selected => pickup }) %] |
|
|
468 |
</select> |
468 |
[% ELSE %] |
469 |
[% ELSE %] |
469 |
<select name="pickup" id="pickup_multi" data-patron-id="[% patron.borrowernumber | html %]"> |
470 |
<select name="pickup" id="pickup_multi" data-patron-id="[% patron.borrowernumber | html %]"> |
470 |
<option value="" selected="selected"></option> |
471 |
[% PROCESS options_for_libraries libraries => multi_pickup_locations, selected => Branches.GetLoggedInBranchcode %] |
471 |
[% FOREACH pickup_location IN multi_pickup_locations %] |
|
|
472 |
<option value="[% pickup_location.branchcode | html %]">[% pickup_location.branchname | html %]</option> |
473 |
[% END %] |
474 |
[% END %] |
475 |
</select> |
472 |
</select> |
|
|
473 |
[% END %] |
476 |
</li> |
474 |
</li> |
477 |
|
475 |
|
478 |
[% UNLESS ( multi_hold ) %] |
476 |
[% UNLESS ( multi_hold ) %] |