5 [% INCLUDE 'doc-head-open.inc' %]
6 <title>Koha › Reports › Catalog by item types</title>
7 [% INCLUDE 'doc-head-close.inc' %]
9 [% Asset.css("css/datatables.css") %]
13 <body id="rep_itemtypes" class="rep">
14 [% INCLUDE 'header.inc' %]
15 [% INCLUDE 'cat-search.inc' %]
17 <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=itemtypes">Catalog by item type</a> › Results[% ELSE %] › Catalog by item type[% END %]</div>
19 <div id="doc3" class="yui-t2">
26 [% FOREACH mainloo IN mainloop %]
27 <h1>Reports on item types [% IF branch %] held at [% Branches.GetName( branch ) %][% END %]</h1>
28 <table id="itemtypest">
38 <th>[% mainloo.total %]</th>
42 [% FOREACH loopitemtyp IN mainloo.loopitemtype %]
44 <td>[% ItemTypes.GetDescription( loopitemtyp.itemtype ) %]</td>
45 <td>[% loopitemtyp.count %]</td>
52 <h3>View a count of items held at your library grouped by item type</h3>
53 <form method="post" action="/cgi-bin/koha/reports/manager.pl?report_name=itemtypes">
54 <fieldset class="rows">
57 <label for="value">Select a library:</label>
58 <select name="value" size="1" id="value">
59 <option value=""></option>
60 [% PROCESS options_for_libraries libraries => Branches.all() %]
62 <span class="tip">Select none to see all libraries</span>
66 <fieldset class="action"><input type="submit" value="Submit" />
67 <input type="hidden" name="report_name" value="[% report_name %]" />
68 <input type="hidden" name="do_it" value="1" />
76 [% INCLUDE 'reports-menu.inc' %]
80 [% MACRO jsinclude BLOCK %]
82 [% INCLUDE 'datatables.inc' %]
83 <script type="text/javascript">
84 $(document).ready(function(){
85 $("#itemtypest").dataTable($.extend(true, {}, dataTablesDefaults, {
94 [% INCLUDE 'intranet-bottom.inc' %]