| Lines 54-103
          
      
      
        Link Here | 
        
          | 54 |     <a href="/cgi-bin/koha/admin/transfer_limits.pl">Switch to advanced editor</a> | 54 |     <a href="/cgi-bin/koha/admin/transfer_limits.pl">Switch to advanced editor</a> | 
        
          | 55 | </fieldset> | 55 | </fieldset> | 
        
          | 56 |  | 56 |  | 
          
            
              | 57 |  | 57 | [% WRAPPER tabs id = "transferlimit_tabs" %] | 
            
              | 58 |   <div id="transferlimit_tabs" class="toptabs"> | 58 |     [% WRAPPER tabs_nav %] | 
            
              | 59 |     <ul class="nav nav-tabs" role="tablist"> |  |  | 
        
          | 60 |         [% FOREACH codes_loo IN codes_loop %] | 59 |         [% FOREACH codes_loo IN codes_loop %] | 
          
            
              | 61 |             <li role="presentation"> | 60 |             [% WRAPPER tab_item tabname=codes_loo.code %] | 
            
              | 62 |                 <a href="#[% codes_loo.code | uri %]set" aria-controls="[% codes_loo.code | uri %]set" role="tab" data-toggle="tab">[% codes_loo.code | html %]</a> | 61 |                 [% codes_loo.code | html %] | 
            
              | 63 |             </li> | 62 |             [% END %] | 
        
          | 64 |         [% END %] | 63 |         [% END %] | 
          
            
              | 65 |     </ul> | 64 |     [% END %] | 
            
              | 66 |         <form method="post" action="branch_transfer_limits.pl"> | 65 |  | 
            
              | 67 |     <div class="tab-content"> | 66 |     <form method="post" action="branch_transfer_limits.pl"> | 
            
              | 68 |  | 67 |         [% WRAPPER tab_panels %] | 
            
              | 69 |     [% FOREACH codes_loo IN codes_loop %] | 68 |             [% FOREACH codes_loo IN codes_loop %] | 
            
              | 70 |     <div role="tabpanel" class="tab-pane" id="[% codes_loo.code | html %]set"> | 69 |                 [% WRAPPER tab_panel tabname=codes_loo.code %] | 
            
              | 71 |     <h4>Policy for [% codes_loo.limit_phrase | html %]: [% codes_loo.code | html %]</h4> | 70 |                     <h4>Policy for [% codes_loo.limit_phrase | html %]: [% codes_loo.code | html %]</h4> | 
            
              | 72 |  | 71 |  | 
            
              | 73 |     <p><a id="CheckAll[% codes_loo.code | html %]table" data-cb="[% codes_loo.code | html %]" class="checkall" href="#"><i class="fa fa-check"></i> Select all</a> | <a id="UncheckAll[% codes_loo.code | html %]table" data-cb="[% codes_loo.code | html %]" class="uncheckall" href="#"><i class="fa fa-remove"></i> Clear all</a></p> | 72 |                     <p><a id="CheckAll[% codes_loo.code | html %]table" data-cb="[% codes_loo.code | html %]" class="checkall" href="#"><i class="fa fa-check"></i> Select all</a> | <a id="UncheckAll[% codes_loo.code | html %]table" data-cb="[% codes_loo.code | html %]" class="uncheckall" href="#"><i class="fa fa-remove"></i> Clear all</a></p> | 
            
              | 74 |  | 73 |  | 
            
              | 75 |         <table id="[% codes_loo.code | html %]table" class="sorted"> | 74 |                     <table id="[% codes_loo.code | html %]table" class="sorted"> | 
            
              | 76 |             <thead> | 75 |                         <thead> | 
            
              | 77 |                 <tr> | 76 |                             <tr> | 
            
              | 78 |                     <th>Library</th> | 77 |                                 <th>Library</th> | 
            
              | 79 |                     <th>Allow transfer?</th> | 78 |                                 <th>Allow transfer?</th> | 
            
              | 80 |                 </tr> | 79 |                             </tr> | 
            
              | 81 |             </thead> | 80 |                         </thead> | 
            
              | 82 |  | 81 |  | 
            
              | 83 |             <tbody> | 82 |                         <tbody> | 
            
              | 84 |                     [% FOREACH to_branch_loo IN codes_loo.to_branch_loop %] | 83 |                                 [% FOREACH to_branch_loo IN codes_loo.to_branch_loop %] | 
            
              | 85 |                         <tr> | 84 |                                     <tr> | 
            
              | 86 |                             <td><label style="min-width:400px;" for="[% to_branch_loo.code | html %][% to_branch_loo.toBranch | html %]row">[% to_branch_loo.toBranch | html %] - [% Branches.GetName( to_branch_loo.toBranch ) | html %]</label></td> | 85 |                                         <td><label style="min-width:400px;" for="[% to_branch_loo.code | html %][% to_branch_loo.toBranch | html %]row">[% to_branch_loo.toBranch | html %] - [% Branches.GetName( to_branch_loo.toBranch ) | html %]</label></td> | 
            
              | 87 |                             <td> | 86 |                                         <td> | 
            
              | 88 |                             [% IF ( to_branch_loo.isChecked ) %] | 87 |                                         [% IF ( to_branch_loo.isChecked ) %] | 
            
              | 89 |                                 <input type="checkbox" class="cb cb[% codes_loo.code | html %]" id="[% to_branch_loo.code | html %][% to_branch_loo.toBranch | html %]row" name="[% to_branch_loo.code | html %]_[% to_branch_loo.toBranch | html %]" checked="checked" /> | 88 |                                             <input type="checkbox" class="cb cb[% codes_loo.code | html %]" id="[% to_branch_loo.code | html %][% to_branch_loo.toBranch | html %]row" name="[% to_branch_loo.code | html %]_[% to_branch_loo.toBranch | html %]" checked="checked" /> | 
            
              | 90 |                             [% ELSE %] | 89 |                                         [% ELSE %] | 
            
              | 91 |                                 <input type="checkbox" class="cb cb[% codes_loo.code | html %]" id="[% to_branch_loo.code | html %][% to_branch_loo.toBranch | html %]row" name="[% to_branch_loo.code | html %]_[% to_branch_loo.toBranch | html %]" /> | 90 |                                             <input type="checkbox" class="cb cb[% codes_loo.code | html %]" id="[% to_branch_loo.code | html %][% to_branch_loo.toBranch | html %]row" name="[% to_branch_loo.code | html %]_[% to_branch_loo.toBranch | html %]" /> | 
            
              | 92 |                             [% END %] | 91 |                                         [% END %] | 
            
              | 93 |                             </td> | 92 |                                         </td> | 
            
              | 94 |                         </tr> | 93 |                                     </tr> | 
            
              | 95 |                     [% END %] | 94 |                                 [% END %] | 
            
              | 96 |             </tbody> | 95 |                         </tbody> | 
            
              | 97 |         </table> | 96 |                     </table> | 
            
              | 98 |         </div> | 97 |                 [% END #/WRAPPER tab_panel %] | 
            
              | 99 |                 [% END %] | 98 |             [% END # /FOREACH codes_loo %] | 
            
              | 100 |         </div> | 99 |         [% END # /WRAPPER tab_panels %] | 
        
          | 101 |  | 100 |  | 
        
          | 102 |         <fieldset class="action"> | 101 |         <fieldset class="action"> | 
        
          | 103 |             <input type="hidden" name="updateLimits" value="1" /> | 102 |             <input type="hidden" name="updateLimits" value="1" /> | 
  
    | Lines 105-112
          
      
      
        Link Here | 
        
          | 105 |             <input type="submit" class="btn btn-primary" value="Save" /> | 104 |             <input type="submit" class="btn btn-primary" value="Save" /> | 
        
          | 106 |             <a class="cancel" href="/cgi-bin/koha/admin/admin-home.pl">Cancel</a> | 105 |             <a class="cancel" href="/cgi-bin/koha/admin/admin-home.pl">Cancel</a> | 
        
          | 107 |         </fieldset> | 106 |         </fieldset> | 
          
            
              | 108 |         </form> | 107 |     </form> | 
            
              | 109 |         </div> | 108 | [% END # /WRAPPER tabs %] | 
        
          | 110 |  | 109 |  | 
        
          | 111 |             </main> | 110 |             </main> | 
        
          | 112 |         </div> <!-- /.col-sm-10.col-sm-push-2 --> | 111 |         </div> <!-- /.col-sm-10.col-sm-push-2 --> | 
            
              | 113 | -  |  |  |