[% Branches.GetName(hold.branchcode) | html %] <input type="hidden" name="pickup" value="[% hold.branchcode | html %]" />
[% ELSE %]
<select name="pickup">
[% PROCESS options_for_libraries libraries => Branches.all( selected => hold.branchcode ) %]
[% PROCESS options_for_libraries libraries => Branches.all( selected => hold.branchcode, search_params => { pickup_location => 1 } ) %]
</select>
[% END %]
for ( var i=0; i < oObj.branches.length; i++ ){
var selectedbranch;
var setbranch;
if ( oObj.branches[i].pickup_location == 0 ) { continue; }
if( oObj.branches[i].selected ){
selectedbranch = " selected='selected' ";
-