1 [% USE AuthorisedValues %]
3 [% USE ColumnsSettings %]
5 [% INCLUDE 'doc-head-open.inc' %]
6 <title>Koha › Reports › Lost items</title>
7 [% INCLUDE 'doc-head-close.inc' %]
8 <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
9 [% INCLUDE 'datatables.inc' %]
10 [% INCLUDE 'columns_settings.inc' %]
11 <script type='text/javascript'>
13 $(document).ready(function() {
14 var columns_settings = [% ColumnsSettings.GetColumns( 'reports', 'lostitems', 'lostitems-table', 'json' ) %];
15 var lostitems_table = KohaTable("#lostitems-table", {
16 "dom": 'B<"clearfix">t',
19 { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false },
20 { "sType": "title-string", "aTargets" : [ "title-string" ] }
30 <body id="rep_itemslost" class="rep">
31 [% INCLUDE 'header.inc' %]
32 [% INCLUDE 'cat-search.inc' %]
34 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a>[% IF ( get_items ) %] › <a href="/cgi-bin/koha/reports/itemslost.pl">Lost Items</a> › Results[% ELSE %] › Lost items[% END %]</div>
36 <div id="doc3" class="yui-t2">
44 [% IF ( get_items ) %]
48 [% items.count %] lost items found
55 <table id="lostitems-table">
63 <th>Date last seen</th>
68 <th>Current location</th>
74 [% FOREACH item IN items %]
77 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.biblionumber %]" title="[% item.itemnotes %]">[% item.biblio.title |html %]</a>
79 <td>[% item.biblio.author %]</td>
80 <td>[% AuthorisedValues.GetByCode( 'LOST', item.itemlost ) %]</td>
82 <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% item.biblionumber %]" title="[% item.itemnotes %]">[% item.barcode %]</a>
84 <td>[% item.itemcallnumber %]</td>
85 <td>[% item.datelastseen | $KohaDates %]</td>
86 <td>[% item.price %]</td>
87 <td>[% item.replacementprice %]</td>
88 <td>[% Branches.GetName(item.homebranch) %]</td>
89 <td>[% item.effective_itemtype %]</td>
90 <td>[% Branches.GetName(item.holdingbranch) %]</td>
91 <td>[% item.location %]</td>
92 <td>[% item.itemnotes %]</td>
100 <form name="f" action="/cgi-bin/koha/reports/itemslost.pl" method="post">
101 <fieldset class="rows">
104 <li><label for="barcodefilter">Barcode: </label><input type="text" name="barcodefilter" id="barcodefilter" size="6" /></li>
105 <li><label for="branchfilter">Library: </label><select name="branchfilter" id="branchfilter">
106 <option value="">All</option>
107 [% PROCESS options_for_libraries libraries => Branches.all() %]
109 <li><label for="itemtypesfilter">Item type: </label><select name="itemtypesfilter" id="itemtypesfilter">
110 <option value="">All</option>
111 [% FOREACH itemtype IN itemtypes %]
112 <option value="[% itemtype.itemtype %]">[% itemtype.translated_description %]</option>
116 <li><label for="loststatusfilter">Lost status: </label><select name="loststatusfilter" id="loststatusfilter">
117 <option value="">All</option>
118 [% FOREACH loststatusloo IN loststatusloop %]
119 [% IF ( loststatusloo.selected ) %]<option value="[% loststatusloo.authorised_value %]" selected="selected">[% loststatusloo.lib %]</option>
121 <option value="[% loststatusloo.authorised_value %]">[% loststatusloo.lib %]</option>
126 <fieldset class="action"> <input type="submit" value="Submit" />
127 <input type="hidden" name="get_items" value="1" /></fieldset>
135 [% INCLUDE 'reports-menu.inc' %]
138 [% INCLUDE 'intranet-bottom.inc' %]