<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
<title>Koha › Circulation › Items Overdue as of <!-- TMPL_VAR NAME="todaysdate" --></title>
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
+<style type="text/css">
+ .sql {display:none;}
+</style>
+<!-- TMPL_INCLUDE NAME="calendar.inc" -->
</head>
<body>
<!-- TMPL_INCLUDE NAME="header.inc" -->
<!-- TMPL_INCLUDE NAME="circ-search.inc" -->
-<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> &rsaquo Circulation Reports &rsaquo Overdues as of <!-- TMPL_VAR NAME="todaysdate" --></div>
+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> › Overdues as of <!-- TMPL_VAR NAME="todaysdate" --></div>
<div id="doc3" class="yui-t2">
<div class="yui-b">
<h2>Items Overdue as of <!-- TMPL_VAR NAME="todaysdate" --></h2>
-
- <form method="post" action="/cgi-bin/koha/circ/overdue.pl">
- <div id="filters">Filter on :<br />
- Name or cardnumber :<input type="text" name="borname" value="<!--TMPL_VAR Name="borname"-->">
- Borrower categorycode :<select name="borcat" id="borcat"><option value="">Any</option>
- <!-- TMPL_LOOP name="borcatloop" -->
- <option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR name="catname" --></option>
- <!-- /TMPL_LOOP -->
- </select>
-
-
- Borrower Flags :<!--TMPL_VAR Name="CGIflags" --><br/>
- Itemtype :<select name="itemtype" id="itemtype"><option value="">Any</option>
- <!-- TMPL_LOOP name="itemtypeloop" -->
- <option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR name="itemtypename" --></option>
- <!-- /TMPL_LOOP -->
- </select>
-
-
- branch :<select name="branch" id="branch">
- <option value="">Any</option>
- <!-- TMPL_LOOP name="branchloop" -->
- <option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR name="branchname" --></option>
- <!-- /TMPL_LOOP -->
- </select><br/>
- Show any items currently issued:<input type="checkbox" name="showall" value="show" <!--TMPL_IF Name="showall"-->checked="checked"<!--/TMPL_IF-->>
-
-
- Sort By<select name="order" tabindex="0" size="1" id="order">
-<option <!--TMPL_UNLESS Name"order"-->selected<!-- /TMPL_UNLESS--> value="">Due Date</option>
-<option value="borrower">Borrower</option>
-<option value="title">Title</option>
-<option value="barcode">Barcode</option>
-<option value="date_due desc">Due Date desc</option>
-<option value="borrower desc">Borrower desc</option>
-<option value="title desc">Title desc</option>
-<option value="barcode desc">Barcode</option>
-</select>
- <input TYPE="submit" value="Apply Filter" class="button reports">
- </div>
- </form>
-
+<p>
+ <!-- TMPL_IF NAME="csv_param_string" -->
+ <a href="overdue.pl?op=csv&<!-- TMPL_VAR name="csv_param_string" escape="HTML" -->">Download file of all overdues</a>
+ <!-- TMPL_ELSE -->
+ <a href="overdue.pl?op=csv">Download file of all overdues</a>
+ <!-- /TMPL_IF -->
+ (for <!-- TMPL_IF name="branchfilter" -->branch <!-- TMPL_VAR name="branchfilter" --><!-- TMPL_ELSE -->all branches<!-- /TMPL_IF -->. Other filters are ignored)
+</p>
+<div class="sql"><pre><!-- TMPL_VAR NAME="sql" ESCAPE="HTML" --></pre></div>
<div class="searchresults">
-<table>
-<tr>
- <th>Due Date</th>
+<table id="overduest">
+<thead><tr>
<th>Patron</th>
+ <th>Library</th>
<th>Title</th>
-</tr>
+</tr></thead>
-<!-- TMPL_LOOP NAME="overdueloop" -->
+<tbody><!-- TMPL_LOOP NAME="overdueloop" -->
<tr>
- <td><!-- TMPL_VAR NAME="duedate" --></td>
- <!-- TMPL_IF NAME="email" -->
- <td><a href="mailto:<!-- TMPL_VAR NAME="email" -->?subject=Overdue: <!-- TMPL_VAR NAME="title" -->"><!-- TMPL_VAR NAME="name" --></a> (<!-- TMPL_VAR NAME="phone" -->)</td>
- <!-- TMPL_ELSE -->
- <td><!-- TMPL_VAR NAME="name" --> (<!-- TMPL_VAR NAME="phone" -->)</td>
- <!-- /TMPL_IF -->
+ <td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR name="borrowernumber"-->"><!-- TMPL_VAR NAME="surname" --> <!-- TMPL_VAR NAME="firstname" --></a>
+ <!-- TMPL_IF NAME="email" -->[<a href="mailto:<!-- TMPL_VAR NAME="email" -->?subject=Overdue: <!-- TMPL_VAR NAME="title" -->">email</a>]<!-- /TMPL_IF -->
+ (<!--TMPL_IF NAME="phone" --><!-- TMPL_VAR NAME="phone" --><!-- TMPL_ELSIF NAME="mobile" --><!-- TMPL_VAR NAME="mobile" --><!-- TMPL_ELSIF NAME="phonepro" --><!-- TMPL_VAR NAME="phonepro" --><!-- /TMPL_IF -->)</td>
+ <td><!-- TMPL_VAR name="branchcode" --></td>
<td>
- <p><!-- TMPL_VAR NAME="title" --></p>
- <p><!-- TMPL_VAR NAME="author" --></p>
+ <!-- TMPL_LOOP NAME="overdues" -->
+ <!-- TMPL_IF name="BiblioDefaultViewmarc" -->
+ <a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
+ <!-- TMPL_ELSIF NAME="BiblioDefaultViewisbd" -->
+ <a href="/cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
+ <!-- TMPL_ELSE -->
+ <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
+ <!-- /TMPL_IF -->
+ <!-- TMPL_VAR NAME="title" ESCAPE="HTML" -->
+ <!-- TMPL_VAR ESCAPE="HTML" NAME="subtitle" -->
+
+ </a>
+ <!-- TMPL_IF NAME="author" -->, by <!-- TMPL_VAR ESCAPE="HTML" NAME="author" --><!-- /TMPL_IF -->
+ <br/>
+ <!-- /TMPL_LOOP -->
</td>
</tr>
-<!-- /TMPL_LOOP -->
+<!-- /TMPL_LOOP --></tbody>
</table>
</div>
</div>
</div>
<div class="yui-b">
-<!-- TMPL_INCLUDE NAME="circ-menu.inc" -->
+<form method="get" action="/cgi-bin/koha/circ/overdue.pl">
+ <fieldset class="brief">
+<h4>Filter On:</h4>
+ <ol>
+ <li style="border: dashed; border-width:1px;">Date due:
+ <label for="dateduefrom">From:
+ <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" id="dateduefrom_button" alt="Show Calendar" />
+ </label>
+ <input type="text" id="dateduefrom" name="dateduefrom" size="20" value="<!-- TMPL_VAR NAME="dateduefrom" -->" />
+ <script language="JavaScript" type="text/javascript">
+ Calendar.setup(
+ {
+ inputField : "dateduefrom",
+ ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
+ button : "dateduefrom_button"
+ }
+ );
+ </script>
+
+ <label for="datedueto">To:
+ <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" id="datedueto_button" alt="Show Calendar" />
+ </label>
+ <input type="text" id="datedueto" name="datedueto" size="20" value="<!-- TMPL_VAR NAME="datedueto" -->" />
+ <script language="JavaScript" type="text/javascript">
+ Calendar.setup(
+ {
+ inputField : "datedueto",
+ ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
+ button : "datedueto_button"
+ }
+ );
+ </script>
+ </li>
+ <li><label>Name or cardnumber:</label><input type="text" name="borname" value="<!--TMPL_VAR Name="borname"-->" /></li>
+ <li><label>Patron category:</label><select name="borcat" id="borcat"><option value="">Any</option>
+ <!-- TMPL_LOOP name="borcatloop" -->
+ <!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR name="value" -->" selected="selected"><!-- TMPL_VAR name="catname" --></option><!-- TMPL_ELSE --><option value="<!-- TMPL_VAR name="value" -->"><!-- TMPL_VAR name="catname" --></option><!-- /TMPL_IF -->
+ <!-- /TMPL_LOOP -->
+ </select>
+ </li>
+ <li><label>Patron flags:</label>
+ <select name="borflags" size="1" id="borflags">
+ <option value=""></option>
+ <option value="gonenoaddress">Address in question</option>
+ <option value="debarred">Debarred</option>
+ <option value="lost">Lost Card</option>
+ </select>
+ </li>
+ <li><label>Item type:</label><select name="itemtype" id="itemtype"><option value="">Any</option>
+ <!-- TMPL_LOOP name="itemtypeloop" --><!-- TMPL_IF NAME="selected" -->
+ <option value="<!-- TMPL_VAR name="value" -->" selected="selected"><!-- TMPL_VAR name="itemtypename" --></option><!-- TMPL_ELSE -->
+ <option value="<!-- TMPL_VAR name="value" -->"><!-- TMPL_VAR name="itemtypename" --></option><!-- /TMPL_IF -->
+ <!-- /TMPL_LOOP -->
+ </select>
+ </li>
+ <li>
+ <label>Library of the patron:</label><select name="branch" id="branch">
+ <option value="">Any</option>
+ <!-- TMPL_LOOP name="branchloop" -->
+ <!-- TMPL_IF NAME="selected" -->
+ <option value="<!-- TMPL_VAR name="value" -->" selected="selected"><!-- TMPL_VAR name="branchname" --></option><!-- TMPL_ELSE -->
+ <option value="<!-- TMPL_VAR name="value" -->"><!-- TMPL_VAR name="branchname" --></option><!-- /TMPL_IF -->
+ <!-- /TMPL_LOOP -->
+ </select>
+ </li>
+
+ <li><label for="order">Sort By:</label> <select name="order" id="order">
+<!-- TMPL_LOOP NAME="ORDER_LOOP" -->
+ <!-- TMPL_IF NAME="selected" -->
+ <option value="<!-- TMPL_VAR NAME="ordervalue" DEFAULT="" -->" selected="selected">
+ <!-- TMPL_ELSE -->
+ <option value="<!-- TMPL_VAR NAME="ordervalue" DEFAULT="" -->">
+ <!-- /TMPL_IF -->[<!-- TMPL_VAR name="foo" -->]
+ <!-- TMPL_IF NAME="order_date_due" -->Due Date
+ <!-- TMPL_ELSIF NAME="order_borrower" -->Patron
+ <!-- TMPL_ELSIF NAME="order_barcode" -->Barcode
+ <!-- TMPL_ELSIF NAME="order_title" -->Title
+ <!-- TMPL_ELSIF NAME="order_date_due_desc" -->Due Date desc
+ <!-- TMPL_ELSIF NAME="order_borrower_desc" -->Patron desc
+ <!-- TMPL_ELSIF NAME="order_barcode_desc" -->Barcode desc
+ <!-- TMPL_ELSIF NAME="order_title_desc" -->Title desc
+ <!-- /TMPL_IF -->
+ </option>
+<!-- /TMPL_LOOP -->
+</select></li>
+<li class="radio"><label for="showall">Show any items currently issued:</label>
+ <!-- TMPL_IF NAME="showall" --><input type="checkbox" id="showall" name="showall" value="show" checked="checked" /><!-- TMPL_ELSE --><input type="checkbox" id="showall" name="showall" value="show" /><!-- /TMPL_IF -->
+</li>
+</ol>
+ <fieldset class="action">
+ <input type="submit" value="Apply Filter" class="submit" />
+ </fieldset>
+ </fieldset>
+ </form>
</div>
</div>
-<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
\ No newline at end of file
+<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->