| 
      
            Lines 8-13
          
      
      
        Link Here
      
     | 
  
        
          | 8 | 
          [%- USE Categories -%]  | 
          8 | 
          [%- USE Categories -%]  | 
        
        
          | 9 | 
          [%- USE TablesSettings -%]  | 
          9 | 
          [%- USE TablesSettings -%]  | 
        
        
          | 10 | 
          [% SET footerjs = 1 %]  | 
          10 | 
          [% SET footerjs = 1 %]  | 
        
            
               | 
               | 
              11 | 
              [% formulaire = BLOCK %]  | 
            
            
              | 12 | 
                  [% INCLUDE 'circ-search.inc' %]  | 
            
            
              | 13 | 
              [% END %]  | 
            
        
          | 11 | 
          [% INCLUDE 'doc-head-open.inc' %]  | 
          14 | 
          [% INCLUDE 'doc-head-open.inc' %]  | 
        
        
          | 12 | 
          <title>Items overdue as of [% todaysdate | html %] › Circulation › Koha</title>  | 
          15 | 
          <title>Items overdue as of [% todaysdate | html %] › Circulation › Koha</title>  | 
        
        
          | 13 | 
          [% INCLUDE 'doc-head-close.inc' %]  | 
          16 | 
          [% INCLUDE 'doc-head-close.inc' %]  | 
        
  
    | 
      
            Lines 29-36
          
      
      
        Link Here
      
     | 
  
        
          | 29 | 
          </head>  | 
          32 | 
          </head>  | 
        
        
          | 30 | 
           | 
          33 | 
           | 
        
        
          | 31 | 
          <body id="circ_overdue" class="circ">  | 
          34 | 
          <body id="circ_overdue" class="circ">  | 
        
          
            
              | 32 | 
              [% INCLUDE 'header.inc' %]  | 
              35 | 
              [% INCLUDE 'header.inc' form=formulaire %]  | 
            
            
              | 33 | 
              [% INCLUDE 'circ-search.inc' %]  | 
               | 
               | 
            
        
          | 34 | 
           | 
          36 | 
           | 
        
        
          | 35 | 
          <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">  | 
          37 | 
          <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">  | 
        
        
          | 36 | 
              <ol>  | 
          38 | 
              <ol>  | 
        
  
    | 
      
            Lines 46-51
          
      
      
        Link Here
      
     | 
  
        
          | 46 | 
                      </a>  | 
          48 | 
                      </a>  | 
        
        
          | 47 | 
                  </li>  | 
          49 | 
                  </li>  | 
        
        
          | 48 | 
              </ol>  | 
          50 | 
              </ol>  | 
        
            
               | 
               | 
              51 | 
                  <ol>  | 
            
            
              | 52 | 
                      [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %] | 
            
            
              | 53 | 
                  </ol>  | 
            
            
              | 54 | 
                  <ol>  | 
            
            
              | 55 | 
                      <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>  | 
            
            
              | 56 | 
                  </ol>  | 
            
        
          | 49 | 
          </nav>  | 
          57 | 
          </nav>  | 
        
        
          | 50 | 
           | 
          58 | 
           | 
        
        
          | 51 | 
          <div class="main container-fluid">  | 
          59 | 
          <div class="main container-fluid">  | 
        
  
    | 
      
            Lines 140-262
          
      
      
        Link Here
      
     | 
  
        
          | 140 | 
           | 
          148 | 
           | 
        
        
          | 141 | 
                  <div class="col-sm-2 col-sm-pull-10">  | 
          149 | 
                  <div class="col-sm-2 col-sm-pull-10">  | 
        
        
          | 142 | 
                      <aside>  | 
          150 | 
                      <aside>  | 
        
            
               | 
               | 
              151 | 
                              <div id="filters">  | 
            
            
              | 152 | 
                                  <form method="post" action="/cgi-bin/koha/circ/overdue.pl">  | 
            
            
              | 153 | 
                                      <fieldset class="brief">  | 
            
            
              | 154 | 
                                          <h4>Filter on</h4>  | 
            
        
          | 143 | 
           | 
          155 | 
           | 
        
          
            
              | 144 | 
              <form method="post" action="/cgi-bin/koha/circ/overdue.pl">  | 
              156 | 
                                          <fieldset><legend>Date due:</legend>  | 
            
            
              | 145 | 
                <fieldset class="brief">  | 
              157 | 
                                                  <li class="radio">  | 
            
            
              | 146 | 
              <h4>Filter on:</h4>  | 
              158 | 
                                                      <p for="showall">Show any items currently checked out:  | 
            
            
              | 147 | 
                  <fieldset><legend>Date due:</legend>  | 
              159 | 
                                                      [% IF ( showall ) %]  | 
            
            
              | 148 | 
                      <ol>  | 
              160 | 
                                                          <input type="checkbox" id="showall" name="showall" value="show" checked="checked" />  | 
            
            
              | 149 | 
                          <li class="radio">  | 
              161 | 
                                                      [% ELSE %]  | 
            
            
              | 150 | 
                              <label for="showall">Show any items currently checked out:</label>  | 
              162 | 
                                                          <input type="checkbox" id="showall" name="showall" value="show" />  | 
            
            
              | 151 | 
                              [% IF ( showall ) %]  | 
              163 | 
                                                      [% END %]  | 
            
            
              | 152 | 
                                      <input type="checkbox" id="showall" name="showall" value="show" checked="checked" />  | 
              164 | 
                                                      </p>  | 
            
            
              | 153 | 
                              [% ELSE %]  | 
               | 
               | 
            
            
              | 154 | 
                                  <input type="checkbox" id="showall" name="showall" value="show" />  | 
            
            
              | 155 | 
                              [% END %]  | 
            
            
              | 156 | 
                          </li>  | 
            
        
          | 157 | 
           | 
          165 | 
           | 
        
          
            
              | 158 | 
                          <li class="date_due_filter">  | 
              166 | 
                                                      <p>From: <input type="text" id="from" name="dateduefrom" size="10" value="[% filters.dateduefrom | $KohaDates %]" class="flatpickr" data-date_to="to" /></p>  | 
            
            
              | 159 | 
                              <label for="from">From:</label>  | 
              167 | 
                                                      <p>To:<input type="text" id="to" name="datedueto" size="10" value="[% filters.datedueto | $KohaDates %]" class="flatpickr" /></p>  | 
            
            
              | 160 | 
                              <input type="text" id="from" name="dateduefrom" size="10" value="[% filters.dateduefrom | $KohaDates %]" class="flatpickr" data-date_to="to" />  | 
              168 | 
                                                  </li>  | 
            
            
              | 161 | 
                          </li>  | 
               | 
               | 
            
            
              | 162 | 
                          <li class="date_due_filter">  | 
            
            
              | 163 | 
                              <label for="to">To:</label>  | 
            
            
              | 164 | 
                              <input type="text" id="to" name="datedueto" size="10" value="[% filters.datedueto | $KohaDates %]" class="flatpickr" />  | 
            
            
              | 165 | 
                          </li>  | 
            
            
              | 166 | 
                      </ol>  | 
            
            
              | 167 | 
                  </fieldset>  | 
            
            
              | 168 | 
                  <ol>  | 
            
            
              | 169 | 
                  <li><label>Name or cardnumber:</label><input type="text" name="borname" value="[% filters.borname | html %]" /></li>  | 
            
            
              | 170 | 
                  <li><label>Patron category:</label><select name="borcat" id="borcat"><option value="">Any</option>  | 
            
            
              | 171 | 
                    [% FOREACH borcatloo IN borcatloop %]  | 
            
            
              | 172 | 
                      [% IF ( borcatloo.selected ) %]<option value="[% borcatloo.value | html %]" selected="selected">[% borcatloo.catname | html %]</option>[% ELSE %]<option value="[% borcatloo.value | html %]">[% borcatloo.catname | html %]</option>[% END %]  | 
            
            
              | 173 | 
                    [% END %]  | 
            
            
              | 174 | 
                    </select>  | 
            
            
              | 175 | 
                  </li>  | 
            
        
          | 176 | 
           | 
          169 | 
           | 
        
          
            
              | 177 | 
                  <li><label>Patron flags:</label>  | 
              170 | 
                                                  <li><p>Name or cardnumber:<input type="text" name="borname" value="[% filters.borname | html %]" /></p>  | 
            
            
              | 178 | 
                      <select name="borflag" id="borflag">  | 
              171 | 
                                                      <p>Patron category:<select name="borcat" id="borcat"><option value="">Any</option>  | 
            
            
              | 179 | 
                          <option value="">None</option>  | 
              172 | 
                                                      [% FOREACH borcatloo IN borcatloop %]  | 
            
            
              | 180 | 
                          [% IF ( borflag_gonenoaddress ) %]<option value="gonenoaddress" selected="selected">Address in question</option>  | 
              173 | 
                                                          [% IF ( borcatloo.selected ) %]<option value="[% borcatloo.value | html %]" selected="selected">[% borcatloo.catname | html %]</option>[% ELSE %]<option value="[% borcatloo.value | html %]">[% borcatloo.catname | html %]</option>[% END %]  | 
            
            
              | 181 | 
                          [% ELSE %]<option value="gonenoaddress">Address in question</option>[% END %]  | 
              174 | 
                                                      [% END %]  | 
            
            
              | 182 | 
                          [% IF ( borflag_debarred ) %]<option value="debarred" selected="selected">Restricted</option>  | 
              175 | 
                                                      </select></p>  | 
            
            
              | 183 | 
                          [% ELSE %]<option value="debarred">Restricted</option>[% END %]  | 
              176 | 
                                                      <p>Patron flags:  | 
            
            
              | 184 | 
                          [% IF ( borflag_lost ) %]<option value="lost" selected="selected">Lost card</option>  | 
              177 | 
                                                          <select name="borflag" id="borflag">  | 
            
            
              | 185 | 
                          [% ELSE %]<option value="lost">Lost card</option>[% END %]  | 
              178 | 
                                                              <option value="">None</option>  | 
            
            
              | 186 | 
                      </select>  | 
              179 | 
                                                              [% IF ( borflag_gonenoaddress ) %]<option value="gonenoaddress" selected="selected">Address in question</option>  | 
            
            
              | 187 | 
                  </li>  | 
              180 | 
                                                              [% ELSE %]<option value="gonenoaddress">Address in question</option>[% END %]  | 
            
            
              | 188 | 
              	[% FOREACH patron_attr_filter_loo IN patron_attr_filter_loop %]  | 
              181 | 
                                                              [% IF ( borflag_debarred ) %]<option value="debarred" selected="selected">Restricted</option>  | 
            
            
              | 189 | 
              		<!-- domid cgivalue ismany isclone ordinal code description repeatable authorised_value_category -->  | 
              182 | 
                                                              [% ELSE %]<option value="debarred">Restricted</option>[% END %]  | 
            
            
              | 190 | 
              		<li>  | 
              183 | 
                                                              [% IF ( borflag_lost ) %]<option value="lost" selected="selected">Lost card</option>  | 
            
            
              | 191 | 
              			<label>[% patron_attr_filter_loo.description | html %]:</label>  | 
              184 | 
                                                              [% ELSE %]<option value="lost">Lost card</option>[% END %]  | 
            
            
              | 192 | 
                          [% IF ( patron_attr_filter_loo.authorised_value_category ) %]  | 
              185 | 
                                                          </select>  | 
            
            
              | 193 | 
                              [% SET authvals = AuthorisedValues.GetAuthValueDropbox( patron_attr_filter_loo.authorised_value_category ) %]  | 
              186 | 
                                                      </p>  | 
            
            
              | 194 | 
                              <select id="pattrodue-input-[% patron_attr_filter_loo.domid | html %]" name="patron_attr_filter_[% patron_attr_filter_loo.code | html %]" class="pattrodue-input">  | 
               | 
               | 
            
            
              | 195 | 
                                  <option></option>  | 
            
            
              | 196 | 
                                  [% FOREACH authval IN authvals %]  | 
            
            
              | 197 | 
                                      [% IF ( patron_attr_filter_loo.cgivalue == authval.authorised_value ) -%]  | 
            
            
              | 198 | 
                                          <option value="[% authval.authorised_value | html %]" selected="selected">[% authval.lib | html %]</option>  | 
            
            
              | 199 | 
                                      [% ELSE -%]  | 
            
            
              | 200 | 
                                          <option value="[% authval.authorised_value | html %]">[% authval.lib | html %]</option>  | 
            
            
              | 201 | 
                                      [% END %]  | 
            
            
              | 202 | 
                                  [% END %]  | 
            
            
              | 203 | 
                              </select>  | 
            
            
              | 204 | 
              			[% ELSE %]  | 
            
            
              | 205 | 
                              <input type="text" name="patron_attr_filter_[% patron_attr_filter_loo.code | html %]" value="[% patron_attr_filter_loo.cgivalue | html %]"/>  | 
            
            
              | 206 | 
              			[% END %]  | 
            
            
              | 207 | 
              			[% IF ( patron_attr_filter_loo.repeatable ) %]  | 
            
            
              | 208 | 
                              <a href="#" class="btn btn-link clone-attribute" data-original-id="pattrodue-input-[% patron_attr_filter_loo.domid | html %]"><i class="fa fa-plus"></i> Add</a>  | 
            
            
              | 209 | 
                              [% IF ( patron_attr_filter_loo.isclone ) %]  | 
            
            
              | 210 | 
                                  <a href="#" class="btn btn-link delete_clone"><i class="fa fa-remove"></i> Delete</a>  | 
            
            
              | 211 | 
                              [% ELSIF ( patron_attr_filter_loo.ismany ) %]  | 
            
            
              | 212 | 
                                  <a href="#" class="btn btn-link delete_clone"><i class="fa fa-remove"></i> Delete</a>  | 
            
            
              | 213 | 
                              [% ELSE %]  | 
            
            
              | 214 | 
                                  <a href="#" class="btn btn-link delete_clone" style="display:none"><i class="fa fa-remove"></i> Delete</a>  | 
            
            
              | 215 | 
                              [% END %]  | 
            
            
              | 216 | 
              			[% END %]  | 
            
            
              | 217 | 
              		</li>  | 
            
            
              | 218 | 
              	[% END %]  | 
            
        
          | 219 | 
           | 
          187 | 
           | 
        
          
            
              | 220 | 
                  <li><label>Item type:</label><select name="itemtype" id="itemtype"><option value="">Any</option>  | 
              188 | 
                                                  [% FOREACH patron_attr_filter_loo IN patron_attr_filter_loop %]  | 
            
            
              | 221 | 
                    [% FOREACH itemtypeloo IN itemtypeloop %][% IF ( itemtypeloo.selected ) %]  | 
              189 | 
                                                      <!-- domid cgivalue ismany isclone ordinal code description repeatable authorised_value_category -->  | 
            
            
              | 222 | 
                      <option value="[% itemtypeloo.value | html %]" selected="selected">[% itemtypeloo.itemtypename | html %]</option>[% ELSE %]  | 
              190 | 
                                                          <p>[% patron_attr_filter_loo.description | html %]:  | 
            
            
              | 223 | 
                      <option value="[% itemtypeloo.value | html %]">[% itemtypeloo.itemtypename | html %]</option>[% END %]  | 
              191 | 
                                                          [% IF ( patron_attr_filter_loo.authorised_value_category ) %]  | 
            
            
              | 224 | 
                    [% END %]  | 
              192 | 
                                                              [% SET authvals = AuthorisedValues.GetAuthValueDropbox( patron_attr_filter_loo.authorised_value_category ) %]  | 
            
            
              | 225 | 
                    </select>  | 
              193 | 
                                                              <select id="pattrodue-input-[% patron_attr_filter_loo.domid | html %]" name="patron_attr_filter_[% patron_attr_filter_loo.code | html %]" class="pattrodue-input">  | 
            
            
              | 226 | 
                  </li>  | 
              194 | 
                                                                  <option></option>  | 
            
            
               | 
               | 
              195 | 
                                                                  [% FOREACH authval IN authvals %]  | 
            
            
              | 196 | 
                                                                      [% IF ( patron_attr_filter_loo.cgivalue == authval.authorised_value ) -%]  | 
            
            
              | 197 | 
                                                                          <option value="[% authval.authorised_value | html %]" selected="selected">[% authval.lib | html %]</option>  | 
            
            
              | 198 | 
                                                                      [% ELSE -%]  | 
            
            
              | 199 | 
                                                                          <option value="[% authval.authorised_value | html %]">[% authval.lib | html %]</option>  | 
            
            
              | 200 | 
                                                                      [% END %]  | 
            
            
              | 201 | 
                                                                  [% END %]  | 
            
            
              | 202 | 
                                                              </select>  | 
            
            
              | 203 | 
                                                          [% ELSE %]  | 
            
            
              | 204 | 
                                                              <input type="text" name="patron_attr_filter_[% patron_attr_filter_loo.code | html %]" value="[% patron_attr_filter_loo.cgivalue | html %]"/>  | 
            
            
              | 205 | 
                                                          [% END %]  | 
            
            
              | 206 | 
                                                          [% IF ( patron_attr_filter_loo.repeatable ) %]  | 
            
            
              | 207 | 
                                                              <a href="#" class="btn btn-link clone-attribute" data-original-id="pattrodue-input-[% patron_attr_filter_loo.domid | html %]"><i class="fa fa-plus"></i> Add</a>  | 
            
            
              | 208 | 
                                                              [% IF ( patron_attr_filter_loo.isclone ) %]  | 
            
            
              | 209 | 
                                                                  <a href="#" class="btn btn-link delete_clone"><i class="fa fa-remove"></i> Delete</a>  | 
            
            
              | 210 | 
                                                              [% ELSIF ( patron_attr_filter_loo.ismany ) %]  | 
            
            
              | 211 | 
                                                                  <a href="#" class="btn btn-link delete_clone"><i class="fa fa-remove"></i> Delete</a>  | 
            
            
              | 212 | 
                                                              [% ELSE %]  | 
            
            
              | 213 | 
                                                                  <a href="#" class="btn btn-link delete_clone" style="display:none"><i class="fa fa-remove"></i> Delete</a>  | 
            
            
              | 214 | 
                                                              [% END %]  | 
            
            
              | 215 | 
                                                          [% END %]</p>  | 
            
            
              | 216 | 
                                                  [% END %]  | 
            
        
          | 227 | 
           | 
          217 | 
           | 
        
          
            
              | 228 | 
                  <li>  | 
              218 | 
                                                  <p>  | 
            
            
              | 229 | 
                      <label>Item home library:</label>  | 
              219 | 
                                                      Item type:<select name="itemtype" id="itemtype"><option value="">Any</option>  | 
            
            
              | 230 | 
                      <select name="homebranch" id="homebranch">  | 
              220 | 
                                                      [% FOREACH itemtypeloo IN itemtypeloop %][% IF ( itemtypeloo.selected ) %]  | 
            
            
              | 231 | 
                          <option value="">Any</option>  | 
              221 | 
                                                          <option value="[% itemtypeloo.value | html %]" selected="selected">[% itemtypeloo.itemtypename | html %]</option>[% ELSE %]  | 
            
            
              | 232 | 
                          [% PROCESS options_for_libraries libraries => Branches.all( selected => filters.homebranch ) %]  | 
              222 | 
                                                          <option value="[% itemtypeloo.value | html %]">[% itemtypeloo.itemtypename | html %]</option>[% END %]  | 
            
            
              | 233 | 
                      </select>  | 
              223 | 
                                                      [% END %]  | 
            
            
              | 234 | 
                  </li>  | 
              224 | 
                                                      </select>  | 
            
            
               | 
               | 
              225 | 
                                                  </p>  | 
            
        
          | 235 | 
           | 
          226 | 
           | 
        
          
            
              | 236 | 
                  <li>  | 
              227 | 
                                                      <p>Item home library:  | 
            
            
              | 237 | 
                      <label>Item holding library:</label>  | 
              228 | 
                                                      <select name="homebranch" id="homebranch">  | 
            
            
              | 238 | 
                      <select name="holdingbranch" id="holdingbranch">  | 
              229 | 
                                                          <option value="">Any</option>  | 
            
            
              | 239 | 
                          <option value="">Any</option>  | 
              230 | 
                                                          [% PROCESS options_for_libraries libraries => Branches.all( selected => filters.homebranch ) %]  | 
            
            
              | 240 | 
                          [% PROCESS options_for_libraries libraries => Branches.all( selected => filters.holdingbranch ) %]  | 
              231 | 
                                                      </select></p>  | 
            
            
              | 241 | 
                      </select>  | 
               | 
               | 
            
            
              | 242 | 
                  </li>  | 
            
        
          | 243 | 
           | 
          232 | 
           | 
        
          
            
              | 244 | 
                  <li>  | 
              233 | 
                                                      <p>Item holding library:  | 
            
            
              | 245 | 
                      <label>Library of the patron:</label>  | 
              234 | 
                                                      <select name="holdingbranch" id="holdingbranch">  | 
            
            
              | 246 | 
                      <select name="branch" id="branch">  | 
              235 | 
                                                          <option value="">Any</option>  | 
            
            
              | 247 | 
                          <option value="">Any</option>  | 
              236 | 
                                                          [% PROCESS options_for_libraries libraries => Branches.all( selected => filters.holdingbranch ) %]  | 
            
            
              | 248 | 
                          [% PROCESS options_for_libraries libraries => Branches.all( selected => filters.branch, only_from_group => 1 ) %]  | 
              237 | 
                                                      </select></p>  | 
            
            
              | 249 | 
                      </select>  | 
               | 
               | 
            
            
              | 250 | 
                  </li>  | 
            
        
          | 251 | 
           | 
          238 | 
           | 
        
          
            
              | 252 | 
              </ol>  | 
              239 | 
                                                      <p>Library of the patron:  | 
            
            
              | 253 | 
                 <fieldset class="action">  | 
              240 | 
                                                      <select name="branch" id="branch">  | 
            
            
              | 254 | 
                    <input type="submit" value="Apply filter" class="submit" />  | 
              241 | 
                                                          <option value="">Any</option>  | 
            
            
              | 255 | 
                    <input type="hidden" name="op" value="apply filter" />  | 
              242 | 
                                                          [% PROCESS options_for_libraries libraries => Branches.all( selected => filters.branch, only_from_group => 1 ) %]  | 
            
            
              | 256 | 
                 </fieldset>  | 
              243 | 
                                                      </select></p>  | 
            
            
              | 257 | 
                 </fieldset>  | 
              244 | 
                                                  </li>  | 
            
            
              | 258 | 
                </form>  | 
              245 | 
                                              </ol>  | 
            
            
               | 
               | 
              246 | 
                                              <fieldset class="action">  | 
            
            
              | 247 | 
                                                  <button type="submit" class="submit" id="principal">Apply filter</button>  | 
            
            
              | 248 | 
                                                  <input type="hidden" name="op" value="apply filter" />  | 
            
            
              | 249 | 
                                              </fieldset>  | 
            
        
          | 259 | 
           | 
          250 | 
           | 
        
            
               | 
               | 
              251 | 
                                          </fieldset>  | 
            
            
              | 252 | 
                                      </fieldset>  | 
            
            
              | 253 | 
                                  </form>  | 
            
            
              | 254 | 
                              </div>  | 
            
        
          | 260 | 
                      </aside>  | 
          255 | 
                      </aside>  | 
        
        
          | 261 | 
                  </div> <!-- /.col-sm-2.col-sm-pull-10 -->  | 
          256 | 
                  </div> <!-- /.col-sm-2.col-sm-pull-10 -->  | 
        
        
          | 262 | 
               </div> <!-- /.row -->  | 
          257 | 
               </div> <!-- /.row -->  |