Synching with rel_2_2.
[koha.git] / koha-tmpl / intranet-tmpl / npl / en / reports / issues_by_borrower_category.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Reports<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
2 <!-- TMPL_INCLUDE NAME="masthead.inc" -->
3 <!-- TMPL_INCLUDE NAME="intranet-nav.inc" -->
4 <div id="main">
5 <!-- TMPL_IF name="do_it" -->
6 <!-- TMPL_LOOP name="mainloop" -->
7         <h1>Koha : Issues by borrower category <!--TMPL_IF name="borrower_category" --> for category = <!-- TMPL_VAR name="borrower_category" --><!-- /TMPL_IF --></h1>
8         <div class="data"><table>
9                 <tr>
10                         <th>&nbsp;</th>
11                         <!-- TMPL_LOOP name="categorycodeloop" -->
12                                 <th scope="col"><!-- TMPL_VAR name="categorycode" --></th>
13                         <!-- /TMPL_LOOP -->
14                         <th>TOTAL</th>
15                 </tr>
16                         <!-- TMPL_LOOP name="loopborrowertype" -->
17                                 <!-- TMPL_IF NAME="hilighted" --><tr class="highlight"><!-- TMPL_ELSE --><tr><!-- /TMPL_IF -->
18                                         <td>
19                                         <!-- TMPL_VAR name="itemtype" --></td>
20                                         <!-- TMPL_LOOP name="loopitemtype" -->
21                                                 <td class="sum">
22                                                         <!-- TMPL_VAR name="issues" -->
23                                                 </td>
24                                         <!-- /TMPL_LOOP -->
25                                         <td class="sum">
26                                                 <!-- TMPL_VAR name="totalitemtype" -->
27                                         </td>
28                                 </tr>
29                         <!-- /TMPL_LOOP name="loopitemtype" -->
30                         <tfoot>
31                         <tr>
32                                 <td>TOTAL</td>
33                                 <!-- TMPL_LOOP name="loopborrowertotal" -->
34                                         <td class="sum">
35                                                 <!-- TMPL_VAR name="issues" -->
36                                         </td>
37                                 <!-- /TMPL_LOOP -->
38                                 <td>&nbsp;</td>
39                         </tr></tfoot>
40         </table></div>
41 <!-- /TMPL_LOOP -->
42 <!-- TMPL_ELSE -->
43         <h1>Issues by patron category</h1>
44         <form method="post">
45                 <p>Select a patron category (leave blank to select all) <input type="text" name="value" /></p>
46                 <p>Select a branch : <!-- TMPL_VAR name="CGIbranch" --></p>
47                 <input type="submit" value="Submit" class="submit" />
48                 <input type="hidden" name="report_name" value="<!--TMPL_VAR name="report_name" -->" />
49                 <input type="hidden" name="do_it" value="1" />
50         </form>
51 <!-- /TMPL_IF -->
52 </div>
53 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->