moving calendar to lib
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / reports / issues_by_borrower_category.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Reports</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 <!--TMPL_INCLUDE NAME="menus.inc" --><!-- TMPL_INCLUDE NAME="menu-reports.inc"-->
5 <!-- Additions to enable Calendar system -->
6 <link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR name="themelang" -->/lib/calendar/calendar-system.css">
7 <!-- End of additions --><!-- Additions to enable Calendar system -->
8 <script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/calendar/calendar.js"></script>
9 <script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/calendar/calendar-en.js"></script>
10 <script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/calendar/calendar-setup.js"></script>
11 <!-- End of additions -->
12
13 <!-- TMPL_IF NAME="do_it" -->
14 <!-- TMPL_LOOP NAME="mainloop" -->
15         <h1>Checkouts by patron category <!--TMPL_IF NAME="borrower_category" --> for category = <!-- TMPL_VAR NAME="borrower_category" --><!-- /TMPL_IF --></h1>
16         <table>
17                 <tr>
18                         <th>&nbsp;</th>
19                         <!-- TMPL_LOOP NAME="categorycodeloop" -->
20                                 <th><!-- TMPL_VAR NAME="categorycode" --></th>
21                         <!-- /TMPL_LOOP -->
22                         <th>TOTAL</th>
23                 </tr>
24                         <!-- TMPL_LOOP NAME="loopborrowertype" -->
25                                 <tr>
26                                         <!-- TMPL_IF NAME="hilighted" --><td class="hilighted"><!-- TMPL_ELSE --><td><!-- /TMPL_IF -->
27                                         <!-- TMPL_VAR NAME="itemtype" --></td>
28                                         <!-- TMPL_LOOP NAME="loopitemtype" -->
29                                                 <!-- TMPL_IF NAME="hilighted" --><td><!-- TMPL_ELSE --><td><!-- /TMPL_IF -->
30                                                         <!-- TMPL_VAR NAME="issues" -->
31                                                 </td>
32                                         <!-- /TMPL_LOOP -->
33                                         <!-- TMPL_IF NAME="hilighted" --><td><!-- TMPL_ELSE --><td><!-- /TMPL_IF -->
34                                                 <!-- TMPL_VAR NAME="totalitemtype" -->
35                                         </td>
36                                 </tr>
37                         <!-- /TMPL_LOOP NAME="loopitemtype" -->
38                         <tr>
39                                 <th>TOTAL</th>
40                                 <!-- TMPL_LOOP NAME="loopborrowertotal" -->
41                                         <th>
42                                                 <!-- TMPL_VAR NAME="issues" -->
43                                         </th>
44                                 <!-- /TMPL_LOOP -->
45                                 <th><!-- TMPL_VAR NAME="grantotal" --></th>
46                         </tr>
47         </table>
48 <!-- /TMPL_LOOP -->
49 <!-- TMPL_ELSE -->
50         <h1>Checkouts by patron category</h1>
51         <form method="post">
52                 <p>Select a borrower category (or don't if you want to see global status) <input type="text" name="value" /></p>
53                 <p>Select a branch : <!-- TMPL_VAR NAME="CGIbranch" --></p>
54                 <input type="submit" value="OK" />
55                 <input type="hidden" name="report_name" value="<!--TMPL_VAR NAME="report_name" -->" />
56                 <input type="hidden" name="do_it" value="1" />
57         </form>
58 <!-- /TMPL_IF -->
59
60 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->