<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
-<title>Koha › Reports</title>
+<title>Koha › Reports › Items with no checkouts</title>
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
+<style type="text/css">
+ .sql {display: none;}
+</style>
</head>
<body>
<!-- TMPL_INCLUDE NAME="header.inc" -->
+<!-- TMPL_INCLUDE NAME="cat-search.inc" -->
-<!-- TMPL_INCLUDE NAME="menu-reports.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 -->
+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a> › Items with no checkouts</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" -->
+ <h1>Items with no checkouts</h1>
<!-- TMPL_LOOP NAME="mainloop" -->
- <h1>Items with no checkouts</h1>
<!-- TMPL_IF NAME="loopfilter"-->
<p>Filtered on</p>
<!-- 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_IF NAME="err" --><p class="error">Error:
+ <!-- TMPL_ELSE --><p>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF NAME="sql" --><span class="sql"><!--/TMPL_IF -->
+ <!-- TMPL_VAR NAME="crit"--> = <!-- TMPL_VAR NAME="filter"-->
+ <!-- TMPL_IF NAME="sql" --></span><!--/TMPL_IF -->
+ </p>
<!-- /TMPL_LOOP -->
- <!-- /TMPL_IF NAME="loopfilter"-->
+ <!-- /TMPL_IF-->
+ <!-- TMPL_IF NAME="looptables"-->
+ <h3><a name="summary" id="summary"></a>Summary</h3>
+ <table id="summary_table">
+ <tr><th>Group</th><th>Call Number Range</th><th>Number of Items Displayed</th><th>Total Items in Group</th>
+ </tr>
+ <!-- TMPL_LOOP NAME="looptables" -->
+ <tr><td><a href="#table<!-- TMPL_VAR NAME="coltitle" -->"><!-- TMPL_VAR NAME="coltitle" --></a></td>
+ <td><!-- TMPL_IF NAME="looptable_count" -->
+ <!-- TMPL_VAR NAME="looptable_first" --> to <!-- TMPL_VAR NAME="looptable_last" -->
+ <!-- /TMPL_IF -->
+ </td>
+ <td><!-- TMPL_VAR NAME="looptable_count" --></td>
+ <td><!-- TMPL_VAR NAME="coltitle_count" --></td>
+ </tr>
+ <!-- /TMPL_LOOP -->
+ <tr><th>TOTAL</th><th></th><th><!-- TMPL_VAR NAME="total_looptable_count" --></th><th><!-- TMPL_VAR NAME="total_coltitle_count" --></th>
+ </tr>
+ </table>
+
+ <!-- /TMPL_IF-->
+ <!-- TMPL_LOOP NAME="looptables" -->
+ <h3><a id="table<!-- TMPL_VAR NAME="coltitle" -->"></a>
+ <!-- TMPL_VAR NAME="coltitle" -->
+ </h3>
<table>
<tr>
- <th>Num/Items</th>
- <!-- TMPL_LOOP NAME="loopcol" -->
- <th><!-- TMPL_VAR NAME="coltitle" --></th>
- <!-- /TMPL_LOOP -->
+ <th>#</th>
+ <th>Call Number</th>
+ <th>Barcode</th>
+ <th>Item Details</th>
</tr>
+ <!-- TMPL_IF NAME="looprow"-->
<!-- TMPL_LOOP NAME="looprow" -->
- <tr>
- <!-- TMPL_IF NAME="hilighted" --><td class="hilighted"><!-- 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="value" --><!-- TMPL_VAR NAME="value" --><!-- /TMPL_IF -->
- </td>
- <!-- /TMPL_LOOP -->
+ <tr<!-- TMPL_UNLESS NAME="__odd__" --> class="highlight"<!-- /TMPL_UNLESS -->>
+ <td><!-- TMPL_VAR NAME="__counter__" --></td>
+ <td><!-- TMPL_VAR NAME="itemcallnumber" DEFAULT="No Call Number" --></td>
+ <td><!-- TMPL_VAR NAME="barcode" DEFAULT="No Barcode" --></td>
+ <td><p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->"><!-- TMPL_VAR name="title" DEFAULT="NO TITLE" --></a></p>
+ <!-- TMPL_VAR NAME="author" DEFAULT="" -->
+ <!--TMPL_IF NAME="branch" -->at <!-- TMPL_VAR NAME="branch" --><!-- /TMPL_IF -->
+ </td>
+ </tr>
+ <!-- /TMPL_LOOP -->
+ <!-- TMPL_ELSE-->
+ <tr><td colspan="4">No items for <!-- TMPL_VAR NAME="coltitle" --></td>
</tr>
- <!-- /TMPL_LOOP NAME="looprow" -->
+ <!-- /TMPL_IF-->
</table>
+ <!-- /TMPL_LOOP -->
<!-- /TMPL_LOOP -->
<!-- TMPL_ELSE -->
- <h1>Items with no Issues</h1>
- <form method="post">
+ <h1>Items with no checkouts</h1>
+ <form method="post" action="/cgi-bin/koha/reports/catalogue_out.pl">
- <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 ="" checked="checked">None</option>
+ <fieldset class="rows">
+ <ol>
+ <li><label for="branch">Library: </label>
+ <select name="Filter" id="branch">
+ <option value="">Any Library</option>
+ <!--TMPL_LOOP Name="branchloop"-->
+ <option value="<!--TMPL_VAR Name="value"-->"><!--TMPL_VAR Name="branchname"--></option>
+ <!--/TMPL_LOOP -->
+ </select></li>
+ <li>
+ <label for="documenttype">Document Type: </label><select name="Filter" id="documenttype">
+ <option value="">Any Document type</option>
+ <!--TMPL_LOOP Name="itemtypeloop"-->
+ <option value="<!--TMPL_VAR Name="value"-->"><!--TMPL_VAR Name="description"--></option>
+ <!--/TMPL_LOOP -->
+ </select>
+ </li>
+ </ol>
+ </fieldset>
+
+ <fieldset class="rows">
+ <legend>Limits</legend>
+ <ol>
+ <li><label for="numberlimit">Limit to: </label> <select name="Limit" id="numberlimit">
+ <option value ="" selected="selected">None</option>
<option value ="5"> 5</option>
<option value ="10">10</option>
<option value ="15">15</option>
<option value ="40">40</option>
<option value ="50">50</option>
<option value ="100">100</option>
- </select>
- </td>
- <td>
- <select name="Criteria">
- <option value ="" checked="checked">None</option>
- <option value ="homebranch">Branch</option>
- <option value ="itemtype">Itemtype</option>
- </select>
- </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>
- </tbody>
- </table>
-
+ </select></li>
+ <li><label for="criteria">By: </label><select name="Criteria" id="criteria">
+ <option value ="" selected="selected">None</option>
+ <option value ="homebranch">Library</option>
+ <option value ="itype">Itemtype</option>
+ </select></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" -->
-
- <input type="submit" value="OK" />
+ <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" disabled="disabled" /><!-- FIXME: Not implemented -->
+ <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>
+
+ <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>
</div>
-
-<!-- TMPL_INCLUDE NAME="mainmenu.inc" -->
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->