2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>Koha › Reports › Catalog by item types</title>
4 [% INCLUDE 'doc-head-close.inc' %]
6 <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
7 [% INCLUDE 'datatables.inc' %]
8 <script type="text/javascript">
10 $(document).ready(function(){
11 $("#itemtypest").dataTable($.extend(true, {}, dataTablesDefaults, {
20 <body id="rep_itemtypes" class="rep">
21 [% INCLUDE 'header.inc' %]
22 [% INCLUDE 'cat-search.inc' %]
24 <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>
26 <div id="doc3" class="yui-t2">
33 [% FOREACH mainloo IN mainloop %]
34 <h1>Reports on item types [% IF ( mainloo.branchname ) %] held at [% mainloo.branchname %][% END %]</h1>
35 <table id="itemtypest">
45 <th>[% mainloo.total %]</th>
49 [% FOREACH loopitemtyp IN mainloo.loopitemtype %]
51 <td>[% ItemTypes.GetDescription( loopitemtyp.itemtype ) %]</td>
52 <td>[% loopitemtyp.count %]</td>
59 <h3>View a count of items held at your library grouped by item type</h3>
60 <form method="post" action="/cgi-bin/koha/reports/manager.pl?report_name=itemtypes">
61 <fieldset class="rows">
64 <label for="value">Select a library:</label>
65 <select name="value" size="1" id="value">
66 <option value=""></option>
67 [%- FOREACH branchloo IN branchloop %]
68 [% IF ( branchloo.selected ) -%]
69 <option value="[% branchloo.branchcode %]" selected="selected">[% branchloo.branchname %]</option>
71 <option value="[% branchloo.branchcode %]">[% branchloo.branchname %]</option>
75 <span class="tip">Select none to see all libraries</span>
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' %]