5 [% PROCESS 'i18n.inc' %]
7 [% INCLUDE 'doc-head-open.inc' %]
8 <title>[% FILTER collapse %]
9 [% t("Catalog by item types") | html %] ›
10 [% t("Reports") | html %] ›
11 [% t("Koha") | html %]
13 [% INCLUDE 'doc-head-close.inc' %]
18 <body id="rep_itemtypes" class="rep">
19 [% WRAPPER 'header.inc' %]
20 [% INCLUDE 'cat-search.inc' %]
23 [% WRAPPER 'sub-header.inc' %]
24 [% WRAPPER breadcrumbs %]
25 [% WRAPPER breadcrumb_item %]
26 <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a>
29 [% WRAPPER breadcrumb_item %]
30 <a href="/cgi-bin/koha/reports/manager.pl?report_name=itemtypes">Catalog by item type</a>
32 [% WRAPPER breadcrumb_item bc_active= 1 %]
36 [% WRAPPER breadcrumb_item bc_active= 1 %]
37 <span>Catalog by item type</span>
40 [% END #/ WRAPPER breadcrumbs %]
41 [% END #/ WRAPPER sub-header.inc %]
43 <div class="main container-fluid">
45 <div class="col-sm-10 col-sm-push-2">
50 [% FOREACH mainloo IN mainloop %]
51 <h1>Reports on item types [% IF branch %] held at [% Branches.GetName( branch ) | html %][% END %]</h1>
52 <table id="itemtypest">
62 <th>[% mainloo.total | html %]</th>
66 [% FOREACH loopitemtyp IN mainloo.loopitemtype %]
68 <td>[% ItemTypes.GetDescription( loopitemtyp.itemtype ) | html %]</td>
69 <td>[% loopitemtyp.count | html %]</td>
76 <h1>View a count of items held at your library grouped by item type</h1>
77 <form method="post" action="/cgi-bin/koha/reports/manager.pl?report_name=itemtypes">
78 <fieldset class="rows">
81 <label for="value">Select a library:</label>
82 <select name="value" id="value">
83 <option value=""></option>
84 [% PROCESS options_for_libraries libraries => Branches.all() %]
86 <div class="hint">Select none to see all libraries</div>
90 <fieldset class="action"><input type="submit" class="btn btn-primary" value="Submit" />
91 <input type="hidden" name="report_name" value="[% report_name | html %]" />
92 <input type="hidden" name="do_it" value="1" />
98 </div> <!-- /.col-sm-10.col-sm-push-2 -->
100 <div class="col-sm-2 col-sm-pull-10">
102 [% INCLUDE 'reports-menu.inc' %]
104 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
105 </div> <!-- /.row -->
107 [% MACRO jsinclude BLOCK %]
109 [% INCLUDE 'datatables.inc' %]
111 $(document).ready(function(){
112 $("#itemtypest").dataTable($.extend(true, {}, dataTablesDefaults, {
121 [% INCLUDE 'intranet-bottom.inc' %]