4 [% PROCESS 'i18n.inc' %]
5 [% INCLUDE 'doc-head-open.inc' %]
6 <title>[% FILTER collapse %]
7 [% t("Items with no checkouts") | html %] ›
8 [% t("Reports") | html %] ›
11 [% INCLUDE 'doc-head-close.inc' %]
17 <body id="rep_catalogue_out" class="rep">
18 [% WRAPPER 'header.inc' %]
19 [% INCLUDE 'cat-search.inc' %]
22 [% WRAPPER 'sub-header.inc' %]
23 [% WRAPPER breadcrumbs %]
24 [% WRAPPER breadcrumb_item %]
25 <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a>
28 [% WRAPPER breadcrumb_item %]
29 <a href="/cgi-bin/koha/reports/catalogue_out.pl">Items with no checkouts</a>
31 [% WRAPPER breadcrumb_item bc_active= 1 %]
35 [% WRAPPER breadcrumb_item bc_active= 1 %]
36 <span>Items with no checkouts</span>
38 [% END # /IF ( do_it ) %]
39 [% END #/ WRAPPER breadcrumbs %]
40 [% END #/ WRAPPER sub-header.inc %]
42 <div class="main container-fluid">
44 <div class="col-sm-10 col-sm-push-2">
47 <h1>Items with no checkouts</h1>
48 [% FOREACH mainloo IN mainloop %]
49 [% IF ( mainloo.loopfilter ) %]
52 [% FOREACH loopfilte IN mainloo.loopfilter %]
53 [% IF ( loopfilte.err ) %]
54 <p class="error">Error: [% loopfilte.filter | html %]</p>
55 [% ELSIF ( loopfilte.sql ) %]
57 [% loopfilte.crit | html %] = [% loopfilte.filter | html %]
60 [% SWITCH loopfilte.crit %]
61 [% CASE 'homelibrary' %]<li>Home library: [% Branches.GetName( loopfilte.filter ) | html %]</li>
62 [% CASE 'itemtype' %]<li>Item type: [% ItemTypes.GetDescription( loopfilte.filter ) | html %]</li>
63 [% CASE 'limit' %]<li>Limit: [% loopfilte.filter | html %]</li>
66 [% group_by = loopfilte.filter %]
67 [% IF ( group_by == "homebranch") %]
69 [% ELSIF ( group_by == "itype" ) %]
75 [% CASE %]<li>[% loopfilte.crit | html %]: [% loopfilte.filter | html %]</li>
82 [% IF ( mainloo.looptables ) %]
83 <div class="page-section">
84 <h3><a name="summary" id="summary"></a>Summary</h3>
85 <table id="summary_table">
88 <th>Call number range</th>
89 <th>Number of items displayed</th>
90 <th>Total items in group</th>
92 [% FOREACH looptable IN mainloo.looptables %]
95 [% IF ( group_by=="itype" ) %]
96 <a href="#table[% looptable.coltitle | uri %]">[% ItemTypes.GetDescription( looptable.coltitle ) | html %]</a>
97 [% ELSIF ( group_by=="homebranch" ) %]
98 <a href="#table[% looptable.coltitle | uri %]">[% Branches.GetName( looptable.coltitle ) | html %]</a>
100 <a href="#table[% looptable.coltitle | uri %]">Ungrouped</a>
104 [% IF ( looptable.looptable_count ) %]
105 [% looptable.looptable_first | html %] to [% looptable.looptable_last | html %]
108 <td>[% looptable.looptable_count | html %]</td>
109 <td>[% looptable.coltitle_count | html %]</td>
115 <th>[% mainloo.total_looptable_count | html %]</th>
116 <th>[% mainloo.total_coltitle_count | html %]</th>
122 [% FOREACH looptable IN mainloo.looptables %]
123 <div class="page-section">
125 [% IF ( group_by=="itype" ) %]
126 <a id="table[% looptable.coltitle | html %]" >[% ItemTypes.GetDescription( looptable.coltitle ) | html %]</a>
127 [% ELSIF ( group_by=="homebranch" ) %]
128 <a id="table[% looptable.coltitle | html %]" >[% Branches.GetName( looptable.coltitle ) | html %]</a>
138 <th>Item details</th>
140 [% IF ( looptable.looprow ) %]
141 [% FOREACH loopro IN looptable.looprow %]
143 <td>[% loop.count | html %]</td>
144 <td>[% IF ( loopro.itemcallnumber ) %][% loopro.itemcallnumber | html %][% ELSE %]No call number[% END %]</td>
145 <td>[% IF ( loopro.barcode ) %][% loopro.barcode | html %][% ELSE %]No barcode[% END %]</td>
147 <p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% loopro.biblionumber | uri %]">[% IF ( loopro.title ) %][% loopro.title | html %][% ELSE %]NO TITLE[% END %]</a> [% IF ( loopro.author ) %] by [% loopro.author | html %][% END %]</p>
148 [% IF ( loopro.branch ) %]at [% Branches.GetName( loopro.branch ) | html %][% END %]
154 <td colspan="4">No items for [% looptable.coltitle | html %]</td>
163 <h1>Items with no checkouts</h1>
165 <form method="post" action="/cgi-bin/koha/reports/catalogue_out.pl">
166 <fieldset class="rows">
169 <label for="branch">Library: </label>
170 <select name="Filter" id="branch">
171 <option value="">Any library</option>
172 [% PROCESS options_for_libraries libraries => Branches.all() %]
176 <label for="documenttype">Item type: </label>
177 <select name="Filter" id="documenttype">
178 <option value="">Any item type</option>
179 [% FOREACH itemtype IN itemtypes %]
180 <option value="[% itemtype.itemtype | html %]">[% itemtype.translated_description | html %]</option>
187 <fieldset class="rows">
188 <legend>Limits</legend>
191 <label for="numberlimit">Limit to: </label>
192 <select name="Limit" id="numberlimit">
193 <option value ="10">10</option>
194 <option value ="20">20</option>
195 <option value ="50">50</option>
196 <option value ="100">100</option>
197 <option value ="200">200</option>
198 <option value ="300">300</option>
199 <option value ="400">400</option>
200 <option value ="500">500</option>
201 <option value ="1000">1000</option>
205 <label for="criteria">By: </label>
206 <select name="Criteria" id="criteria">
207 <option value ="" selected="selected">None</option>
208 <option value ="homebranch">Library</option>
209 <option value ="itype">Item type</option>
215 <fieldset class="action">
216 <input type="submit" class="btn btn-primary" value="Submit" />
217 <input type="hidden" name="report_name" value="[% report_name | html %]" />
218 <input type="hidden" name="do_it" value="1" />
219 <input type="hidden" name="output" value="screen" />
225 </div> <!-- /.col-sm-10.col-sm-push-2 -->
226 <div class="col-sm-2 col-sm-pull-10">
228 [% INCLUDE 'reports-menu.inc' %]
230 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
231 </div> <!-- /.row -->
233 [% INCLUDE 'intranet-bottom.inc' %]