New programmer templates
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / reports / itemtypes.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Reports --<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
2 <!-- Additions to enable Calendar system -->
3 <link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR name="themelang" -->/includes/calendar/calendar-system.css">
4 <!-- End of additions --><!-- Additions to enable Calendar system -->
5 <script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/includes/calendar/calendar.js"></script>
6 <script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/includes/calendar/calendar-en.js"></script>
7 <script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/includes/calendar/calendar-setup.js"></script>
8 <!-- End of additions -->
9
10 <!-- TMPL_IF NAME="do_it" -->
11 <!-- TMPL_LOOP NAME="mainloop" -->
12         <h1>Koha : Reports on itemtypes <!--TMPL_IF NAME="branch" --> for branch = <!-- TMPL_VAR NAME="branch" --><!-- /TMPL_IF --></h1>
13         <table>
14                 <tr>
15                         <th>Item type</th>
16                         <th>count</th>
17                 </tr>
18                         <!-- TMPL_LOOP NAME="loopitemtype" -->
19                                 <tr>
20                                         <td><!-- TMPL_VAR NAME="itemtype" --></td>
21                                         <td><!-- TMPL_VAR NAME="count" --></td>
22                                 </tr>
23                         <!-- /TMPL_LOOP NAME="loopitemtype" -->
24                         <tr>
25                                 <th>TOTAL</th>
26                                 <th><!-- TMPL_VAR NAME="total" --></th>
27         </table>
28 <!-- /TMPL_LOOP -->
29 <!-- TMPL_ELSE -->
30         <h1>View catalogue group by itemtypes</h1>
31         <form method="post">
32                 Select a branch (or don't if you want the report for all branches) <!-- TMPL_VAR NAME="CGIbranch" -->
33                 <input type="submit" value="OK" />
34                 <input type="hidden" name="report_name" value="<!--TMPL_VAR NAME="report_name" -->" />
35                 <input type="hidden" name="do_it" value="1" />
36         </form>
37 <!-- /TMPL_IF -->
38
39 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->