1 [% USE AuthorisedValues %]
3 [% USE ColumnsSettings %]
6 [% INCLUDE 'doc-head-open.inc' %]
7 <title>Koha › Reports › Lost items</title>
8 [% INCLUDE 'doc-head-close.inc' %]
9 <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
12 <body id="rep_itemslost" class="rep">
13 [% INCLUDE 'header.inc' %]
14 [% INCLUDE 'cat-search.inc' %]
16 <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>
18 <div id="doc3" class="yui-t2">
26 [% IF ( get_items ) %]
30 [% items.count %] lost items found
37 <table id="lostitems-table">
45 <th>Date last seen</th>
50 <th>Current location</th>
56 [% FOREACH item IN items %]
59 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.biblionumber %]" title="[% item.itemnotes %]">[% item.biblio.title |html %]</a>
61 <td>[% item.biblio.author %]</td>
62 <td>[% AuthorisedValues.GetByCode( 'LOST', item.itemlost ) %]</td>
64 <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% item.biblionumber %]" title="[% item.itemnotes %]">[% item.barcode %]</a>
66 <td>[% item.itemcallnumber %]</td>
67 <td>[% item.datelastseen | $KohaDates %]</td>
68 <td>[% item.price %]</td>
69 <td>[% item.replacementprice %]</td>
70 <td>[% Branches.GetName(item.homebranch) %]</td>
71 <td>[% item.effective_itemtype %]</td>
72 <td>[% Branches.GetName(item.holdingbranch) %]</td>
73 <td>[% item.location %]</td>
74 <td>[% item.itemnotes %]</td>
82 <form name="f" action="/cgi-bin/koha/reports/itemslost.pl" method="post">
83 <fieldset class="rows">
86 <li><label for="barcodefilter">Barcode: </label><input type="text" name="barcodefilter" id="barcodefilter" size="6" /></li>
87 <li><label for="branchfilter">Library: </label><select name="branchfilter" id="branchfilter">
88 <option value="">All</option>
89 [% PROCESS options_for_libraries libraries => Branches.all() %]
91 <li><label for="itemtypesfilter">Item type: </label><select name="itemtypesfilter" id="itemtypesfilter">
92 <option value="">All</option>
93 [% FOREACH itemtype IN itemtypes %]
94 <option value="[% itemtype.itemtype %]">[% itemtype.translated_description %]</option>
98 <li><label for="loststatusfilter">Lost status: </label><select name="loststatusfilter" id="loststatusfilter">
99 <option value="">All</option>
100 [% FOREACH loststatusloo IN loststatusloop %]
101 [% IF ( loststatusloo.selected ) %]<option value="[% loststatusloo.authorised_value %]" selected="selected">[% loststatusloo.lib %]</option>
103 <option value="[% loststatusloo.authorised_value %]">[% loststatusloo.lib %]</option>
108 <fieldset class="action"> <input type="submit" value="Submit" />
109 <input type="hidden" name="get_items" value="1" /></fieldset>
117 [% INCLUDE 'reports-menu.inc' %]
121 [% MACRO jsinclude BLOCK %]
122 [% INCLUDE 'datatables.inc' %]
123 [% INCLUDE 'columns_settings.inc' %]
124 <script type='text/javascript'>
125 $(document).ready(function() {
126 var columns_settings = [% ColumnsSettings.GetColumns( 'reports', 'lostitems', 'lostitems-table', 'json' ) %];
127 var lostitems_table = KohaTable("#lostitems-table", {
128 "dom": 'B<"clearfix">t',
131 { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false },
132 { "sType": "title-string", "aTargets" : [ "title-string" ] }
135 }, columns_settings);
141 [% INCLUDE 'intranet-bottom.inc' %]