2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>Koha › Reports › Checkouts by patron category</title>
4 [% INCLUDE 'doc-head-close.inc' %]
6 <body id="rep_issues_by_borrower_category" class="rep">
7 [% INCLUDE 'header.inc' %]
8 [% INCLUDE 'cat-search.inc' %]
10 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a> [% IF ( do_it ) %]› <a href="/cgi-bin/koha/reports/manager.pl?report_name=issues_by_borrower_category">Checkouts by patron category</a> › Results[% ELSE %]› Checkouts by patron category[% END %]</div>
12 <div id="doc3" class="yui-t2">
19 [% FOREACH mainloo IN mainloop %]
20 <h1>Checkouts by patron category [% IF ( mainloo.borrower_category ) %] for category = [% mainloo.borrower_category %][% END %]</h1>
24 [% FOREACH categorycodeloo IN mainloo.categorycodeloop %]
25 <th>[% categorycodeloo.categorycode %]</th>
29 [% FOREACH loopborrowertyp IN mainloo.loopborrowertype %]
31 [% IF ( loopborrowertyp.hilighted ) %]<td class="hilighted">[% ELSE %]<td>[% END %]
32 [% loopborrowertyp.itemtype %]</td>
33 [% FOREACH loopitemtyp IN loopborrowertyp.loopitemtype %]
34 [% IF ( loopitemtyp.hilighted ) %]<td>[% ELSE %]<td>[% END %]
35 [% loopitemtyp.issues %]
38 [% IF ( loopborrowertyp.hilighted ) %]<td>[% ELSE %]<td>[% END %]
39 [% loopborrowertyp.totalitemtype %]
45 [% FOREACH loopborrowertota IN mainloo.loopborrowertotal %]
47 [% loopborrowertota.issues %]
50 <th>[% mainloo.grantotal %]</th>
55 <form method="post" action="/cgi-bin/koha/reports/manager.pl">
56 <fieldset class="rows">
57 <legend>Checkouts by patron category</legend>
60 <label for="borrowercategory">Select a borrower category</label>
61 <select name="value" id="borrowercategory">
62 <option value="">Any Category code</option>
63 [%- FOREACH patron_category IN patron_categories %]
64 <option value="[% patron_category.categorycode %]" >[% patron_category.description %]</option>
69 <label for="branch">Select a library:</label>
70 <select name="value" size="1" id="branch">
71 <option value=""></option>
72 [%- FOREACH l IN Branches.all() %]
73 <option value="[% l.branchcode %]">[% l.branchname %]</option>
79 <fieldset class="action"><input type="submit" value="Submit" />
80 <input type="hidden" name="report_name" value="[% report_name %]" />
81 <input type="hidden" name="do_it" value="1" />
89 [% INCLUDE 'reports-menu.inc' %]
92 [% INCLUDE 'intranet-bottom.inc' %]