6 [% INCLUDE 'doc-head-open.inc' %]
7 <title>Koha › Reports › Catalog by item types</title>
8 [% INCLUDE 'doc-head-close.inc' %]
10 [% Asset.css("css/datatables.css") | $raw %]
14 <body id="rep_itemtypes" class="rep">
15 [% INCLUDE 'header.inc' %]
16 [% INCLUDE 'cat-search.inc' %]
18 <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>
20 <div class="main container-fluid">
22 <div class="col-sm-10 col-sm-push-2">
27 [% FOREACH mainloo IN mainloop %]
28 <h1>Reports on item types [% IF branch %] held at [% Branches.GetName( branch ) | html %][% END %]</h1>
29 <table id="itemtypest">
39 <th>[% mainloo.total | html %]</th>
43 [% FOREACH loopitemtyp IN mainloo.loopitemtype %]
45 <td>[% ItemTypes.GetDescription( loopitemtyp.itemtype ) | html %]</td>
46 <td>[% loopitemtyp.count | html %]</td>
53 <h3>View a count of items held at your library grouped by item type</h3>
54 <form method="post" action="/cgi-bin/koha/reports/manager.pl?report_name=itemtypes">
55 <fieldset class="rows">
58 <label for="value">Select a library:</label>
59 <select name="value" size="1" id="value">
60 <option value=""></option>
61 [% PROCESS options_for_libraries libraries => Branches.all() %]
63 <span class="tip">Select none to see all libraries</span>
67 <fieldset class="action"><input type="submit" value="Submit" />
68 <input type="hidden" name="report_name" value="[% report_name | html %]" />
69 <input type="hidden" name="do_it" value="1" />
75 </div> <!-- /.col-sm-10.col-sm-push-2 -->
77 <div class="col-sm-2 col-sm-pull-10">
79 [% INCLUDE 'reports-menu.inc' %]
81 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
84 [% MACRO jsinclude BLOCK %]
86 [% INCLUDE 'datatables.inc' %]
88 $(document).ready(function(){
89 $("#itemtypest").dataTable($.extend(true, {}, dataTablesDefaults, {
98 [% INCLUDE 'intranet-bottom.inc' %]