Adding new report templates
[koha.git] / koha-tmpl / intranet-tmpl / npl / en / reports / itemtypes.tmpl
1 <!-- TMPL_INCLUDE NAME="reports-top.inc" -->
2 <div id="mainbloc">
3 <!-- TMPL_IF name="do_it" -->
4 <!-- TMPL_LOOP name="mainloop" -->
5         <h1>Koha : Reports on itemtypes <!--TMPL_IF name="branch" --> for branch = <!-- TMPL_VAR name="branch" --><!-- /TMPL_IF --></h1>
6         <table>
7                 <tr>
8                         <th>Item type</th>
9                         <th>count</th>
10                 </tr>
11                         <!-- TMPL_LOOP name="loopitemtype" -->
12                                 <tr>
13                                         <td><!-- TMPL_VAR name="itemtype" --></td>
14                                         <td><!-- TMPL_VAR name="count" --></td>
15                                 </tr>
16                         <!-- /TMPL_LOOP name="loopitemtype" -->
17                         <tr>
18                                 <th>TOTAL</th>
19                                 <th><!-- TMPL_VAR name="total" --></th>
20         </table>
21 <!-- /TMPL_LOOP -->
22 <!-- TMPL_ELSE -->
23         <h1>View catalogue group by itemtypes</h1>
24         <form method="post">
25                 Select a branch (or don't if you want the report for all branches) <!-- TMPL_VAR name="CGIbranch" -->
26                 <input type="submit" value="OK" class="button">
27                 <input type="hidden" name="report_name" value="<!--TMPL_VAR name="report_name" -->">
28                 <input type="hidden" name="do_it" value="1">
29         </form>
30 <!-- /TMPL_IF -->
31 </div>
32 <!-- TMPL_INCLUDE NAME="reports-bottom.inc" -->