| Lines 151-160
          
      
      
        Link Here | 
        
          | 151 |             <form name="cancelReserve" action="/cgi-bin/koha/circ/pendingreserves.pl" method="post"> | 151 |             <form name="cancelReserve" action="/cgi-bin/koha/circ/pendingreserves.pl" method="post"> | 
        
          | 152 |                 <input type="hidden" name="op" value="cancel_reserve" /> | 152 |                 <input type="hidden" name="op" value="cancel_reserve" /> | 
        
          | 153 |                 <input type="hidden" name="reserve_id" value="[% reserveloo.reserve_id | html %]" /> | 153 |                 <input type="hidden" name="reserve_id" value="[% reserveloo.reserve_id | html %]" /> | 
            
              |  |  | 154 |  | 
            
              | 155 |                 [% SET hold_cancellation = AuthorisedValues.GetAuthValueDropbox('HOLD_CANCELLATION') %] | 
            
              | 156 |                 [% IF hold_cancellation %] | 
            
              | 157 |                     <div class="form-group"> | 
            
              | 158 |                         <label for="cancellation-reason">Cancellation reason</label> | 
            
              | 159 |                         <select class="cancellation-reason" name="cancellation-reason" id="cancellation-reason"> | 
            
              | 160 |                             <option value="">No reason given</option> | 
            
              | 161 |                             [% FOREACH reason IN hold_cancellation %] | 
            
              | 162 |                                 <option value="[% reason.authorised_value | html %]">[% reason.lib | html %]</option> | 
            
              | 163 |                             [% END %] | 
            
              | 164 |                         </select> | 
            
              | 165 |                     </div> | 
            
              | 166 |                 [% END %] | 
            
              | 167 |  | 
        
          | 154 |                 [% IF reserveloo.holdingbranch != reserveloo.homebranch %] | 168 |                 [% IF reserveloo.holdingbranch != reserveloo.homebranch %] | 
          
            
              | 155 |                     <input type="submit" value="Cancel hold and return to : [% Branches.GetName( reserveloo.homebranch ) | html %]" /> | 169 |                     <input class="btn btn-default" type="submit" value="Cancel hold and return to : [% Branches.GetName( reserveloo.homebranch ) | html %]" /> | 
        
          | 156 |                 [% ELSE %] | 170 |                 [% ELSE %] | 
          
            
              | 157 |                     <input type="submit" value="Cancel hold" /> | 171 |                     <input class="btn btn-default" type="submit" value="Cancel hold" /> | 
        
          | 158 |                 [% END %] | 172 |                 [% END %] | 
        
          | 159 |             </form> | 173 |             </form> | 
        
          | 160 |  | 174 |  | 
            
              | 161 | -  |  |  |