<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
-<title>Koha › Reports</title>
+<title>Koha › Reports › Patrons with the most Checkouts</title>
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
-<!-- Additions to enable Calendar system -->
-<link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR name="themelang" -->/lib/calendar/calendar-system.css" />
-<!-- End of additions --><!-- Additions to enable Calendar system -->
-<script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/calendar/calendar.js"></script>
-<script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/calendar/calendar-en.js"></script>
-<script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/calendar/calendar-setup.js"></script>
-<!-- End of additions -->
+<!-- TMPL_INCLUDE NAME="calendar.inc" -->
</head>
<body>
<!-- TMPL_INCLUDE NAME="header.inc" -->
+<!-- TMPL_INCLUDE NAME="cat-search.inc" -->
-<!-- TMPL_INCLUDE NAME="menu-reports.inc"-->
-
+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a> <!-- TMPL_IF NAME="do_it" -->› <a href="/cgi-bin/koha/reports/bor_issues_top.pl">Patrons with the most checkouts</a> › Results<!-- TMPL_ELSE -->› Patrons with the most checkouts<!-- /TMPL_IF --></div>
<div id="doc3" class="yui-t2">
<div id="bd">
<div id="yui-main">
- <div class="yui-b"><div class="yui-g">
+ <div class="yui-b">
<!-- TMPL_IF NAME="do_it" -->
<script language="JavaScript" type="text/javascript">
<!-- TMPL_LOOP NAME="loopfilter" -->
<p><!-- TMPL_IF NAME="err" --> <!--/TMPL_IF --> <!-- TMPL_VAR NAME="crit"--> =<!-- TMPL_VAR NAME="filter"--><!-- TMPL_IF NAME="err" --> <!--/TMPL_IF --></p>
<!-- /TMPL_LOOP -->
- <!-- /TMPL_IF NAME="loopfilter"-->
+ <!-- /TMPL_IF -->
<table>
<tr >
</tr>
<!-- TMPL_LOOP NAME="looprow" -->
<tr>
- <!-- TMPL_IF NAME="hilighted" --><td class="hilighted"><!-- TMPL_ELSE --><td><!-- /TMPL_IF -->
+ <!-- TMPL_IF NAME="hilighted" --><td><!-- TMPL_ELSE --><td><!-- /TMPL_IF -->
<!-- TMPL_VAR NAME="rowtitle" --></td>
<!-- TMPL_LOOP NAME="loopcell" -->
- <!-- TMPL_IF NAME="hilighted" --><td class="hilighted"><!-- TMPL_ELSE --><td ><!-- /TMPL_IF -->
- <!-- TMPL_IF NAME="reference" --><a href="javascript:Dopop('../members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="reference" -->')" ><!-- /TMPL_IF -->
+ <!-- TMPL_IF NAME="hilighted" --><td><!-- TMPL_ELSE --><td ><!-- /TMPL_IF -->
+ <!-- TMPL_IF NAME="reference" --><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="reference" -->"><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="value" --><!-- TMPL_VAR NAME="value" --><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="reference" --></a><!-- /TMPL_IF -->
</td>
- <!-- TMPL_IF NAME="hilighted" --><td class="hilighted"><!-- TMPL_ELSE --><td ><!-- /TMPL_IF -->
+ <!-- TMPL_IF NAME="hilighted" --><td><!-- TMPL_ELSE --><td ><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="count" --><!-- TMPL_VAR NAME="count" --><!-- /TMPL_IF -->
</td>
<!-- /TMPL_LOOP -->
</tr>
- <!-- /TMPL_LOOP NAME="looprow" -->
+ <!-- /TMPL_LOOP -->
</table>
<!-- /TMPL_LOOP -->
<!-- TMPL_ELSE -->
- <h1>Patrons who checked out the most items</h1>
- <form method="post">
-
- <table>
- <thead>
- <tr>
- <th>Limit to </th>
- <th>By </th>
- <th colspan="2">Filters</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>
- <select name="Limit">
- <option value ="5" selected="selected"> 5</option>
- <option value ="10">10</option>
- <option value ="15">15</option>
- <option value ="20">20</option>
- <!-- <option value ="25">25</option>
- <option value ="40">40</option>
- <option value ="50">50</option>
- <option value ="100">100</option>-->
- </select>
- </td>
- <td>
- <select name="Criteria">
- <option value ="" selected="selected">None</option>
- <option value ="issuingbranch">Branch</option>
- <option value ="categorycode">Categorycode</option>
- <option value ="itemtype">Itemtype</option>
- <option value ="Day">Day</option>
- <option value ="Week">Week</option>
- <option value ="Month">Month</option>
- <option value ="Year">Year</option>
- </select>
- </td>
- </tr>
-
- <tr class="hilighted">
- <td> </td>
- <td> </td>
- <td>Issue date</td>
- <td> From <input type="text" readonly="readonly" size="10" id="from" name="Filter" />
- <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" border="0" id="openCalendarFrom" style="cursor: pointer;" valign="top" />
+ <h1>Patrons with the most Checkouts</h1>
+ <form method="post" action="/cgi-bin/koha/reports/bor_issues_top.pl">
+ <fieldset class="rows">
+ <ol><li><label for="from">Checkout date from:</label> <input type="text" readonly="readonly" size="10" id="from" name="Filter" />
+ <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" alt="Show Calendar" border="0" id="openCalendarFrom" style="cursor: pointer;" />
<script language="JavaScript" type="text/javascript">
function validate1(date) {
var day = date.getDate();
Calendar.setup(
{
inputField : "from",
- ifFormat : "%Y-%m-%d",
+ ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
button : "openCalendarFrom",
disableFunc : validate1,
dateStatusFunc : validate1
}
);
</script>
- To <input readonly="readonly" size="10" id="to" name="Filter" value="" type="text" />
- <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" id="openCalendarTo" style="cursor: pointer;" alt="" border="0" />
+ <label class="inline" for="to">To: </label> <input readonly="readonly" size="10" id="to" name="Filter" value="" type="text" />
+ <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" alt="Show Calendar" id="openCalendarTo" style="cursor: pointer;" border="0" />
<script type="text/javascript">
function validate2(date) {
var day = date.getDate();
Calendar.setup(
{
inputField : "to",
- ifFormat : "%Y-%m-%d",
+ ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
button : "openCalendarTo",
disableFunc : validate2,
dateStatusFunc : validate2
}
);
- </script>
- </td>
- </tr>
- <tr>
- <td> </td>
- <td> </td>
- <td>Returns</td>
- <td > From <input type="text" readonly="readonly" size="10" id="fromRO" name="Filter" />
- <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" border="0" id="openCalendarFromRO" style="cursor: pointer;" alt="" />
+ </script></li>
+ <li> <label for="fromRO">Check-in date from:</label> <input type="text" readonly="readonly" size="10" id="fromRO" name="Filter" />
+ <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" border="0" id="openCalendarFromRO" style="cursor: pointer;" alt="Show Calendar" />
<script language="JavaScript" type="text/javascript">
function validate1(date) {
var day = date.getDate();
Calendar.setup(
{
inputField : "fromRO",
- ifFormat : "%Y-%m-%d",
+ ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
button : "openCalendarFromRO",
disableFunc : validate1,
dateStatusFunc : validate1
}
);
</script>
- To <input type="text" readonly="readonly" size="10" id="toRO" name="Filter" value="" />
- <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" id="openCalendarToRO" style="cursor: pointer;" alt="" border="0" />
+ <label class="inline" for="toRO">To: </label> <input type="text" readonly="readonly" size="10" id="toRO" name="Filter" value="" />
+ <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" id="openCalendarToRO" style="cursor: pointer;" alt="Show Calendar" border="0" />
<script type="text/javascript">
function validate2(date) {
var day = date.getDate();
Calendar.setup(
{
inputField : "toRO",
- ifFormat : "%Y-%m-%d",
+ ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
button : "openCalendarToRO",
disableFunc : validate2,
dateStatusFunc : validate2
}
);
- </script>
- </td>
- </tr>
- <tr class="hilighted">
- <td> </td>
- <td> </td>
- <td>Branch</td>
- <td><input type="text" name="Filter" value="" /></td>
- </tr>
- <tr>
- <td> </td>
- <td> </td>
- <td>Document Type</td>
- <td><input type="text" name="Filter" value="" /></td>
- </tr>
- <tr class="hilighted">
- <td> </td>
- <td> </td>
- <td>Patron Category</td>
- <td><input type="text" name="Filter" value="" /></td>
- </tr>
- <tr>
- <td> </td>
- <td> </td>
- <td>Day</td>
- <td><input type="text" name="Filter" value="" /></td>
- </tr>
- <tr class="hilighted">
- <td> </td>
- <td> </td>
- <td>Month</td>
- <td><input type="text" name="Filter" value="" /></td>
- </tr>
- <tr>
- <td> </td>
- <td> </td>
- <td>Year</td>
- <td><input type="text" name="Filter" value="" /></td>
- </tr>
- </tbody>
- </table>
+ </script></li>
+ <li>
+ <label for="branch">Branch: </label>
+ <input type="text" name="Filter" id="branch" value="" />
+ </li>
+ <li>
+ <label for="documenttype">Document Type: </label>
+ <input type="text" name="Filter" id="documenttype" value="" />
+ </li>
+ <li>
+ <label for="patroncategory">Patron Category: </label>
+ <input type="text" name="Filter" id="patroncategory" value="" />
+ </li>
+ <li>
+ <label for="day">Day: </label>
+ <input type="text" name="Filter" id="day" value="" />
+ </li>
+ <li>
+ <label for="month">Month: </label>
+ <input type="text" name="Filter" id="month" value="" />
+ </li>
+ <li>
+ <label for="year">Year: </label>
+ <input type="text" name="Filter" id="year" value="" />
+ </li>
+
+ </ol>
+ </fieldset>
- <h3> Output </h3>
- <input type="radio" checked name="output" value="screen" /> To screen into the browser
-
- <input type="radio" name="output" value="file" /> To file <input type="text" name="basename" value="Export" /> into an application
- <!-- TMPL_VAR NAME="CGIextChoice" -->
- <!-- TMPL_VAR NAME="CGIsepChoice" -->
+ <fieldset class="rows">
+ <ol>
+ <li><label for="numlimit">Limit to: </label> <select name="Limit" id="numlimit">
+ <option value ="5" selected="selected"> 5</option>
+ <option value ="10">10</option>
+ <option value ="15">15</option>
+ <option value ="20">20</option>
+ <!-- <option value ="25">25</option>
+ <option value ="40">40</option>
+ <option value ="50">50</option>
+ <option value ="100">100</option>-->
+ </select></li>
+ <li><label for="criteria">By: </label> <select name="Criteria" id="criteria">
+ <option value ="" selected="selected">None</option>
+ <option value ="issuingbranch">Branch</option>
+ <option value ="categorycode">Categorycode</option>
+ <option value ="itemtype">Itemtype</option>
+ <option value ="Day">Day</option>
+ <option value ="Week">Week</option>
+ <option value ="Month">Month</option>
+ <option value ="Year">Year</option>
+ </select></li>
+ </ol>
+ </fieldset>
+
+<fieldset class="rows">
+ <legend>Output</legend>
+<ol><li><label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /> </li>
+<li><label for="outputfile">To a file:</label> <input type="radio" name="output" value="file" id="outputfile" /> <label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" /> <label class="inline" for="MIME">Into an application
+ </label><!-- TMPL_VAR NAME="CGIextChoice" -->
+ <!-- TMPL_VAR NAME="CGIsepChoice" --></li></ol>
+ </fieldset>
- <input type="submit" value="OK" />
+ <fieldset class="action">
+ <input type="submit" value="Submit" />
<input type="hidden" name="report_name" value="<!--TMPL_VAR NAME="report_name" -->" />
<input type="hidden" name="do_it" value="1" />
+ </fieldset>
</form>
<!-- /TMPL_IF -->
+
</div>
</div>
+<div class="yui-b">
+<!-- TMPL_INCLUDE NAME="reports-menu.inc" -->
</div>
-
-<!-- TMPL_INCLUDE NAME="mainmenu.inc" -->
-<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
+</div>
+<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
\ No newline at end of file