1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha › Reports › Catalog by item types</title>
3 [% INCLUDE 'doc-head-close.inc' %]
5 <link rel="stylesheet" type="text/css" href="/intranet-tmpl/prog/en/css/datatables.css" />
6 <script type="text/javascript" src="/intranet-tmpl/prog/en/lib/jquery/plugins/jquery.dataTables.min.js"></script>
7 [% INCLUDE 'datatables-strings.inc' %]
8 <script type="text/javascript" src="/intranet-tmpl/prog/en/js/datatables.js"></script>
9 <script type="text/javascript">
11 $(document).ready(function(){
12 $("#itemtypest").dataTable($.extend(true, {}, dataTablesDefaults, {
21 <body id="rep_itemtypes" class="rep">
22 [% INCLUDE 'header.inc' %]
23 [% INCLUDE 'cat-search.inc' %]
25 <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>
27 <div id="doc3" class="yui-t2">
34 [% FOREACH mainloo IN mainloop %]
35 <h1>Reports on item types [% IF ( mainloo.branchname ) %] held at [% mainloo.branchname %][% END %]</h1>
36 <table id="itemtypest">
46 <th>[% mainloo.total %]</th>
50 [% FOREACH loopitemtyp IN mainloo.loopitemtype %]
52 <td>[% loopitemtyp.itemtype %]</td>
53 <td>[% loopitemtyp.count %]</td>
60 <h3>View a count of items held at your library grouped by item type</h3>
61 <form method="post" action="/cgi-bin/koha/reports/manager.pl?report_name=itemtypes">
62 <fieldset class="rows">
65 <label for="value">Select a library</label>
66 <select name="value" size="1" id="value">
67 <option value=""></option>
68 [%- FOREACH branchloo IN branchloop %]
69 [% IF ( branchloo.selected ) -%]
70 <option value="[% branchloo.branchcode %]" selected="selected">[% branchloo.branchname %]</option>
72 <option value="[% branchloo.branchcode %]">[% branchloo.branchname %]</option>
76 <span class="tip">Select none to see all libraries</span>
80 <fieldset class="action"><input type="submit" value="Submit" />
81 <input type="hidden" name="report_name" value="[% report_name %]" />
82 <input type="hidden" name="do_it" value="1" />
90 [% INCLUDE 'reports-menu.inc' %]
93 [% INCLUDE 'intranet-bottom.inc' %]