bug 5255 change 'document type' to 'item type'
[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
54                 <!-- /TMPL_IF-->
55                 <!-- TMPL_LOOP NAME="looptables" -->
56                 <h3><a id="table<!-- TMPL_VAR NAME="coltitle" -->"></a>
57                         <!-- 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                 <!-- /TMPL_LOOP -->
84         <!-- /TMPL_LOOP -->
85 <!-- TMPL_ELSE -->
86         <h1>Items with no checkouts</h1>
87         <form method="post" action="/cgi-bin/koha/reports/catalogue_out.pl">
88         
89         <fieldset class="rows">
90                 <ol>
91                         <li><label for="branch">Library: </label>
92         <select name="Filter" id="branch">
93                 <option value="">Any Library</option>
94     <!--TMPL_LOOP Name="branchloop"-->
95         <option value="<!--TMPL_VAR Name="value"-->"><!--TMPL_VAR Name="branchname"--></option>  
96      <!--/TMPL_LOOP --> 
97     </select></li>
98       <li> 
99         <label for="documenttype">Item Type: </label><select name="Filter" id="documenttype">
100                 <option value="">Any Item Type</option>
101     <!--TMPL_LOOP Name="itemtypeloop"-->
102         <option value="<!--TMPL_VAR Name="value"-->"><!--TMPL_VAR Name="description"--></option>  
103      <!--/TMPL_LOOP --> 
104     </select>
105     </li>
106                 </ol>   
107         </fieldset>
108         
109         <fieldset class="rows">
110         <legend>Limits</legend>
111                 <ol>
112                 <li><label for="numberlimit">Limit to: </label> <select name="Limit" id="numberlimit">
113                                                 <option value ="" selected="selected">None</option>
114                                                 <option value ="5"> 5</option>
115                                                 <option value ="10">10</option>
116                                                 <option value ="15">15</option>
117                                                 <option value ="20">20</option>
118                                                 <option value ="25">25</option>
119                                                 <option value ="40">40</option>
120                                                 <option value ="50">50</option>
121                                                 <option value ="100">100</option>
122                                                 <option value ="250">250</option>
123                                                 <option value ="500">500</option>
124                                                 <option value ="700">750</option>
125                                                 <option value ="1000">1000</option>
126                                         </select></li>
127                 <li><label for="criteria">By: </label><select name="Criteria" id="criteria">
128                                                 <option value ="" selected="selected">None</option>
129                                                 <option value ="homebranch">Library</option>
130                                                 <option value ="itype">Itemtype</option>
131                                         </select></li>
132                 </ol>
133         </fieldset>
134         
135         <fieldset class="rows">
136         <legend>Output</legend>
137 <ol><li><label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /> </li>
138         <li><label for="outputfile">To a file: </label><input type="radio" name="output" value="file" id="outputfile" disabled="disabled" /><!-- FIXME: Not implemented -->
139                 <label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" />
140                 <label class="inline" for="MIME">Into an application </label>
141         <select name="MIME" id="MIME">
142         <!-- TMPL_LOOP NAME="CGIextChoice" -->
143           <option value="<!-- TMPL_VAR NAME="type" -->"><!-- TMPL_VAR NAME="type" --></option>
144         <!-- /TMPL_LOOP -->
145         </select>
146         <!-- TMPL_VAR NAME="CGIsepChoice" -->
147         </li>
148 </ol>
149         </fieldset>
150
151         <fieldset class="action">
152         <input type="submit" value="Submit" />
153         <input type="hidden" name="report_name" value="<!--TMPL_VAR NAME="report_name" -->" />
154         <input type="hidden" name="do_it" value="1" />
155         </fieldset>
156         </form>
157 <!-- /TMPL_IF -->
158
159 </div>
160 </div>
161 <div class="yui-b">
162 <!-- TMPL_INCLUDE NAME="reports-menu.inc" -->
163 </div>
164 </div>
165 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->