Final fix for 2008: Daily reconciliation report broken
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / reports / catalogue_out.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Reports &rsaquo; Items with no checkouts</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 <style type="text/css">
5         .sql {display: none;}
6 </style>
7 </head>
8 <body>
9 <!-- TMPL_INCLUDE NAME="header.inc" -->
10 <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
11
12 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a> &rsaquo; Items with no checkouts</div>
13
14 <div id="doc3" class="yui-t2">
15    <div id="bd">
16         <div id="yui-main">
17         <div class="yui-b">
18
19 <!-- TMPL_IF NAME="do_it" -->
20         <h1>Items with no checkouts</h1>
21         <!-- TMPL_LOOP NAME="mainloop" -->
22                 <!-- TMPL_IF NAME="loopfilter"-->
23                         <p>Filtered on</p>
24                         <!-- TMPL_LOOP NAME="loopfilter" -->
25                                 <!-- TMPL_IF NAME="err" --><p class="error">Error: 
26                                 <!-- TMPL_ELSE --><p>
27                                 <!-- /TMPL_IF -->
28                                         <!-- TMPL_IF NAME="sql" --><span class="sql"><!--/TMPL_IF -->
29                                         <!-- TMPL_VAR NAME="crit"--> = <!-- TMPL_VAR NAME="filter"-->
30                                         <!-- TMPL_IF NAME="sql" --></span><!--/TMPL_IF -->
31                                 </p>
32                         <!-- /TMPL_LOOP -->
33                 <!-- /TMPL_IF-->
34                 
35                 <!-- TMPL_IF NAME="looptables"-->
36                         <h3><a name="summary" id="summary"></a>Summary</h3>
37                         <table id="summary_table">
38                                 <tr><th>Group</th><th>Call Number Range</th><th>Number of Items Displayed</th><th>Total Items in Group</th>
39                                 </tr>
40                         <!-- TMPL_LOOP NAME="looptables" -->
41                                 <tr><td><a href="#table<!-- TMPL_VAR NAME="coltitle" -->"><!-- TMPL_VAR NAME="coltitle" --></a></td>
42                                         <td><!-- TMPL_IF NAME="looptable_count" -->
43                                                 <!-- TMPL_VAR NAME="looptable_first" --> to <!-- TMPL_VAR NAME="looptable_last" -->
44                                                 <!-- /TMPL_IF -->
45                                         </td>
46                                         <td><!-- TMPL_VAR NAME="looptable_count" --></td>
47                                         <td><!-- TMPL_VAR NAME="coltitle_count" --></td>
48                                 </tr>
49                         <!-- /TMPL_LOOP -->
50                                 <tr><th>TOTAL</th><th></th><th><!-- TMPL_VAR NAME="total_looptable_count" --></th><th><!-- TMPL_VAR NAME="total_coltitle_count" --></th>
51                                 </tr>
52                         </table>
53                         <hr />
54                 <!-- /TMPL_IF-->
55                 <!-- TMPL_LOOP NAME="looptables" -->
56                 <h3><a name="table<!-- TMPL_VAR NAME="coltitle" -->"></a>
57                         Table <!-- TMPL_VAR NAME="__counter__"--> - <!-- TMPL_VAR NAME="coltitle" -->
58                 </h3>
59                 <table>
60                         <tr>
61                                 <th>#</th>
62                                 <th>Call Number</th>
63                                 <th>Barcode</th>
64                                 <th>Item Details</th>
65                         </tr>
66                                 <!-- TMPL_IF NAME="looprow"-->
67                                 <!-- TMPL_LOOP NAME="looprow" -->
68                                         <tr<!-- TMPL_UNLESS NAME="__odd__" --> class="highlight"<!-- /TMPL_UNLESS -->>
69                                                 <td><!-- TMPL_VAR NAME="__counter__" --></td>
70                                                 <td><!-- TMPL_VAR NAME="itemcallnumber" DEFAULT="No Call Number" --></td>
71                                                 <td><!-- TMPL_VAR NAME="barcode" DEFAULT="No Barcode" --></td>
72                                                 <td><p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->"><!-- TMPL_VAR name="title" DEFAULT="NO TITLE" --></a></p>
73                                                         <!-- TMPL_VAR NAME="author" DEFAULT="" -->
74                                                         <!--TMPL_IF NAME="branch" -->at <!-- TMPL_VAR NAME="branch" --><!-- /TMPL_IF -->
75                                                 </td>
76                                         </tr>
77                                 <!-- /TMPL_LOOP -->
78                                 <!-- TMPL_ELSE-->
79                                         <tr><td colspan="4">No items for <!-- TMPL_VAR NAME="coltitle" --></td>
80                                         </tr>
81                                 <!-- /TMPL_IF-->
82                 </table>
83                 <hr />
84                 <!-- /TMPL_LOOP -->
85         <!-- /TMPL_LOOP -->
86 <!-- TMPL_ELSE -->
87         <h1>Items with no checkouts</h1>
88         <form method="post" action="/cgi-bin/koha/reports/catalogue_out.pl">
89         
90         <fieldset class="rows">
91                 <ol>
92                         <li><label for="branch">Library: </label>
93         <select name="Filter" id="branch">
94                 <option value="">Any Library</option>
95     <!--TMPL_LOOP Name="branchloop"-->
96         <option value="<!--TMPL_VAR Name="value"-->"><!--TMPL_VAR Name="branchname"--></option>  
97      <!--/TMPL_LOOP --> 
98     </select></li>
99       <li> 
100         <label for="documenttype">Document Type: </label><select name="Filter" id="documenttype">
101                 <option value="">Any Document type</option>
102     <!--TMPL_LOOP Name="itemtypeloop"-->
103         <option value="<!--TMPL_VAR Name="value"-->"><!--TMPL_VAR Name="description"--></option>  
104      <!--/TMPL_LOOP --> 
105     </select>
106     </li>
107                 </ol>   
108         </fieldset>
109         
110         <fieldset class="rows">
111         <legend>Limits</legend>
112                 <ol>
113                 <li><label for="numberlimit">Limit to: </label> <select name="Limit" id="numberlimit">
114                                                 <option value ="" selected="selected">None</option>
115                                                 <option value ="5"> 5</option>
116                                                 <option value ="10">10</option>
117                                                 <option value ="15">15</option>
118                                                 <option value ="20">20</option>
119                                                 <option value ="25">25</option>
120                                                 <option value ="40">40</option>
121                                                 <option value ="50">50</option>
122                                                 <option value ="100">100</option>
123                                         </select></li>
124                 <li><label for="criteria">By: </label><select name="Criteria" id="criteria">
125                                                 <option value ="" selected="selected">None</option>
126                                                 <option value ="homebranch">Library</option>
127                                                 <option value ="itype">Itemtype</option>
128                                         </select></li>
129                 </ol>
130         </fieldset>
131         
132         <fieldset class="rows">
133         <legend>Output</legend>
134 <ol><li><label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /> </li>
135         <li><label for="outputfile">To a file: </label><input type="radio" name="output" value="file" id="outputfile" disabled="disabled" /><!-- FIXME: Not implemented -->
136                 <label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" />
137                 <label class="inline" for="MIME">Into an application </label><!-- TMPL_VAR NAME="CGIextChoice" --> <!-- TMPL_VAR NAME="CGIsepChoice" -->
138         </li>
139 </ol>
140         </fieldset>
141
142         <fieldset class="action">
143         <input type="submit" value="Submit" />
144         <input type="hidden" name="report_name" value="<!--TMPL_VAR NAME="report_name" -->" />
145         <input type="hidden" name="do_it" value="1" />
146         </fieldset>
147         </form>
148 <!-- /TMPL_IF -->
149
150 </div>
151 </div>
152 <div class="yui-b">
153 <!-- TMPL_INCLUDE NAME="reports-menu.inc" -->
154 </div>
155 </div>
156 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->