| 
      
            Lines 824-832
          
      
      
        Link Here
      
     | 
  
        
          | 824 | 
                                      </tr>  | 
          824 | 
                                      </tr>  | 
        
        
          | 825 | 
                                      [% FOREACH c IN categorycodes %]  | 
          825 | 
                                      [% FOREACH c IN categorycodes %]  | 
        
        
          | 826 | 
                                          [% NEXT UNLESS c %]  | 
          826 | 
                                          [% NEXT UNLESS c %]  | 
        
          
            
              | 827 | 
                                              [% SET patron_maxissueqty = CirculationRules.Search( branchcode, c, undef, 'patron_maxissueqty' ) %]  | 
              827 | 
                                              [% SET i = undef %]  | 
            
            
              | 828 | 
                                              [% SET patron_maxonsiteissueqty = CirculationRules.Search( branchcode, c, undef, 'patron_maxonsiteissueqty' ) %]  | 
              828 | 
                                              [% SET patron_maxissueqty = all_rules.$c.$i.patron_maxissueqty %]  | 
            
            
              | 829 | 
                                              [% SET max_holds = CirculationRules.Search( branchcode, c, undef, 'max_holds' ) %]  | 
              829 | 
                                              [% SET patron_maxonsiteissueqty = all_rules.$c.$i.patron_maxonsiteissueqty %]  | 
            
            
               | 
               | 
              830 | 
                                              [% SET max_holds = all_rules.$c.$i.max_holds %]  | 
            
        
          | 830 | 
           | 
          831 | 
           | 
        
        
          | 831 | 
                                          [% IF  ( patron_maxissueqty.defined && patron_maxissueqty != '' ) || ( patron_maxonsiteissueqty.defined && patron_maxonsiteissueqty != '' ) || ( max_holds.defined && max_holds != '' ) %]  | 
          832 | 
                                          [% IF  ( patron_maxissueqty.defined && patron_maxissueqty != '' ) || ( patron_maxonsiteissueqty.defined && patron_maxonsiteissueqty != '' ) || ( max_holds.defined && max_holds != '' ) %]  | 
        
        
          | 832 | 
                                          <tr>  | 
          833 | 
                                          <tr>  | 
        
  
    | 
      
            Lines 902-912
          
      
      
        Link Here
      
     | 
  
        
          | 902 | 
                                          <th> </th>  | 
          903 | 
                                          <th> </th>  | 
        
        
          | 903 | 
                                      </tr>  | 
          904 | 
                                      </tr>  | 
        
        
          | 904 | 
                                      [% FOREACH c IN categorycodes %]  | 
          905 | 
                                      [% FOREACH c IN categorycodes %]  | 
        
            
              | 905 | 
                                              [% SET c = '*' UNLESS c.defined AND c != '' %]  | 
               | 
               | 
            
        
          | 906 | 
                                          [% FOREACH i IN itemtypes %]  | 
          906 | 
                                          [% FOREACH i IN itemtypes %]  | 
        
          
            
              | 907 | 
                                                  [% SET i = '*' UNLESS i.defined AND i != '' %]  | 
              907 | 
                                                  [% SET waiting_hold_cancellation = all_rules.$c.$i.waiting_hold_cancellation %]  | 
            
            
              | 908 | 
               | 
               | 
               | 
            
            
              | 909 | 
                                                  [% SET waiting_hold_cancellation = CirculationRules.Search( current_branch, c, i, 'waiting_hold_cancellation' ) %]  | 
            
        
          | 910 | 
           | 
          908 | 
           | 
        
        
          | 911 | 
                                              [% IF ( waiting_hold_cancellation.defined && waiting_hold_cancellation != '' ) %]  | 
          909 | 
                                              [% IF ( waiting_hold_cancellation.defined && waiting_hold_cancellation != '' ) %]  | 
        
        
          | 912 | 
                                                  <tr>  | 
          910 | 
                                                  <tr>  | 
        
  
    | 
      
            Lines 932-938
          
      
      
        Link Here
      
     | 
  
        
          | 932 | 
                                                          [% END %]  | 
          930 | 
                                                          [% END %]  | 
        
        
          | 933 | 
                                                      </td>  | 
          931 | 
                                                      </td>  | 
        
        
          | 934 | 
                                                      <td class="actions">  | 
          932 | 
                                                      <td class="actions">  | 
        
          
            
              | 935 | 
                                                              <a href="#" class="del-waiting-hold-cancellation btn btn-default btn-xs" data-categorycode="[% c | html %]" data-itemtype="[% i | html %]" data-branch"[% current_branch | html %]"><i class="fa fa-trash-can"></i> Delete</a>  | 
              933 | 
                                                              <a href="#" class="del-waiting-hold-cancellation btn btn-default btn-xs" data-categorycode="[% c || '*' | html %]" data-itemtype="[% i|| '*' | html %]" data-branch"[% current_branch | html %]"><i class="fa fa-trash-can"></i> Delete</a>  | 
            
        
          | 936 | 
                                                      </td>  | 
          934 | 
                                                      </td>  | 
        
        
          | 937 | 
                                                  </tr>  | 
          935 | 
                                                  </tr>  | 
        
        
          | 938 | 
                                              [% END %]  | 
          936 | 
                                              [% END %]  | 
        
  
    | 
      
            Lines 987-993
          
      
      
        Link Here
      
     | 
  
        
          | 987 | 
                                      </tr>  | 
          985 | 
                                      </tr>  | 
        
        
          | 988 | 
                                      [% FOREACH c IN categorycodes %]  | 
          986 | 
                                      [% FOREACH c IN categorycodes %]  | 
        
        
          | 989 | 
                                          [% NEXT UNLESS c %]  | 
          987 | 
                                          [% NEXT UNLESS c %]  | 
        
          
            
              | 990 | 
                                              [% SET open_article_requests_limit = CirculationRules.Search( branchcode, c, undef, 'open_article_requests_limit' ) %]  | 
              988 | 
                                              [% SET i = undef %]  | 
            
            
               | 
               | 
              989 | 
                                              [% SET open_article_requests_limit = all_rules.$c.$i.open_article_requests_limit %]  | 
            
        
          | 991 | 
           | 
          990 | 
           | 
        
        
          | 992 | 
                                          [% IF ( open_article_requests_limit.defined && open_article_requests_limit != '' ) %]  | 
          991 | 
                                          [% IF ( open_article_requests_limit.defined && open_article_requests_limit != '' ) %]  | 
        
        
          | 993 | 
                                          <tr>  | 
          992 | 
                                          <tr>  | 
        
  
    | 
      
            Lines 1041-1049
          
      
      
        Link Here
      
     | 
  
        
          | 1041 | 
                                          <th> </th>  | 
          1040 | 
                                          <th> </th>  | 
        
        
          | 1042 | 
                                      </tr>  | 
          1041 | 
                                      </tr>  | 
        
        
          | 1043 | 
                                      [% FOREACH c IN categorycodes %]  | 
          1042 | 
                                      [% FOREACH c IN categorycodes %]  | 
        
          
            
              | 1044 | 
                                              [% SET c = '*' UNLESS c.defined AND c != '' %]  | 
              1043 | 
                                              [% SET i = undef %]  | 
            
            
              | 1045 | 
               | 
              1044 | 
                                              [% SET article_request_fee = all_rules.$c.$i.article_request_fee %]  | 
            
            
              | 1046 | 
                                              [% SET article_request_fee = CirculationRules.Search( current_branch, c, undef, 'article_request_fee' ) %]  | 
               | 
               | 
            
        
          | 1047 | 
           | 
          1045 | 
           | 
        
        
          | 1048 | 
                                          [% IF ( article_request_fee.defined && article_request_fee != '' ) %]  | 
          1046 | 
                                          [% IF ( article_request_fee.defined && article_request_fee != '' ) %]  | 
        
        
          | 1049 | 
                                          <tr>  | 
          1047 | 
                                          <tr>  | 
        
  
    | 
      
            Lines 1307-1315
          
      
      
        Link Here
      
     | 
  
        
          | 1307 | 
                                          <th> </th>  | 
          1305 | 
                                          <th> </th>  | 
        
        
          | 1308 | 
                                      </tr>  | 
          1306 | 
                                      </tr>  | 
        
        
          | 1309 | 
                                      [% FOREACH i IN itemtypeloop %]  | 
          1307 | 
                                      [% FOREACH i IN itemtypeloop %]  | 
        
          
            
              | 1310 | 
                                              [% SET holdallowed = CirculationRules.Search( branchcode, undef, i.itemtype, 'holdallowed' ) %]  | 
              1308 | 
                                              [% SET it = i.itemtype %]  | 
            
            
              | 1311 | 
                                              [% SET hold_fulfillment_policy = CirculationRules.Search( branchcode, undef, i.itemtype, 'hold_fulfillment_policy' ) %]  | 
              1309 | 
                                              [% SET c = undef %]  | 
            
            
              | 1312 | 
                                              [% SET returnbranch = CirculationRules.Search( branchcode, undef, i.itemtype, 'returnbranch' ) %]  | 
              1310 | 
                                              [% SET holdallowed = all_rules.$c.$it.holdallowed %]  | 
            
            
               | 
               | 
              1311 | 
                                              [% SET hold_fulfillment_policy = all_rules.$c.$it.hold_fulfillment_policy %]  | 
            
            
              | 1312 | 
                                              [% SET returnbranch = all_rules.$c.$it.returnbranch %]  | 
            
        
          | 1313 | 
           | 
          1313 | 
           | 
        
        
          | 1314 | 
                                          [% IF holdallowed || hold_fulfillment_policy || returnbranch %]  | 
          1314 | 
                                          [% IF holdallowed || hold_fulfillment_policy || returnbranch %]  | 
        
        
          | 1315 | 
                                              <tr>  | 
          1315 | 
                                              <tr>  | 
        
            
              | 1316 | 
              -   | 
               | 
               |