<!-- TMPL_INCLUDE NAME="header.inc" -->
<!-- TMPL_INCLUDE NAME="cat-search.inc" -->
-<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a> › Lost Items</div>
+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a><!-- TMPL_IF NAME="get_items" --> › <a href="/cgi-bin/koha/reports/itemslost.pl">Lost Items</a> › Results<!-- TMPL_ELSE --> › Lost Items<!-- /TMPL_IF --></div>
<div id="doc3" class="yui-t2">
<h1>Lost Items</h1>
+<!-- TMPL_IF NAME="get_items" -->
+
<div class="results">
<!-- TMPL_IF NAME="total" -->
<!-- TMPL_VAR NAME="total" --> lost items found
<!-- /TMPL_IF -->
</div>
-<form name="f" action="/cgi-bin/koha/reports/itemslost.pl" method="post">
- <label for="orderbyfilter">Set result order by</label>
- <select id="orderbyfilter" name="orderbyfilter">
- <option value=""> --- </option>
- <option value="homebranch">Branch</option>
- <option value="itemtype">Itemtypes</option>
- <option value="barcode">Barcode</option>
- <option value="price">price</option>
- </select>
- <input type="submit" value="OK" />
- <input type="hidden" name="get_items" value="1" />
- <table>
+ <!-- TMPL_IF NAME="itemsloop" --><table>
<tr>
+ <th>Title</th>
+ <th>Author</th>
+ <th>Lost Code</th>
<th>Barcode</th>
<th>Date last seen</th>
<th>Price</th>
- <th>Branch</th>
+ <th>Rep.Price</th>
+ <th>Library</th>
<th>Itemtype</th>
<th>Holdingbranch</th>
<th>Location</th>
</tr>
- <tr>
- <td><input type="text" name="barcodefilter" size="6" /></td>
- <td><!-- datelastseen --></td>
- <td><!-- price --></td>
- <td><select name="branchfilter">
+ <!-- TMPL_LOOP NAME="itemsloop"-->
+ <tr>
+ <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber"-->" title="<!-- TMPL_VAR NAME="itemnotes"-->">
+ <!-- TMPL_VAR NAME="title"--></td>
+ </a></td>
+ <td><!-- TMPL_VAR NAME="author"--></td>
+ <td><!-- TMPL_VAR NAME="lib"--></td>
+ <td><a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber"-->" title="<!-- TMPL_VAR NAME="itemnotes"-->">
+ <!-- TMPL_VAR NAME="barcode"-->
+ </a></td>
+ <td><!-- TMPL_VAR NAME="datelastseen"--></td>
+ <td><!-- TMPL_VAR NAME="price" --></td>
+ <td><!-- TMPL_VAR NAME="replacementprice" --></td>
+ <td><!-- TMPL_VAR NAME="homebranch" --></td>
+ <td><!-- TMPL_VAR NAME="itype" --></td>
+ <td><!-- TMPL_VAR NAME="holdingbranch"--></td>
+ <td><!-- TMPL_VAR NAME="location"--></td>
+ </tr>
+ <!-- /TMPL_LOOP -->
+ </table>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_ELSE -->
+
+ <form name="f" action="/cgi-bin/koha/reports/itemslost.pl" method="post">
+<fieldset class="rows"><ol> <li><label for="orderbyfilter">Order by: </label>
+ <select id="orderbyfilter" name="orderbyfilter">
+ <option value=""> --- </option>
+ <option value="title">Title</option>
+ <option value="author">Author</option>
+ <option value="homebranch">Library</option>
+ <option value="itype">Itemtypes</option>
+ <option value="barcode">Barcode</option>
+ <option value="price">Price</option>
+ <option value="replacementprice">Replacement Price</option>
+ <option value="lib">Lost Code</option>
+ <option value="datelastseen">Date Last Seen</option>
+ <option value="location">Location</option>
+ </select></li>
+
+ <li><label for="barcodefilter">Barcode: </label><input type="text" name="barcodefilter" id="barcodefilter" size="6" /></li>
+ <li><label for="branchfilter">Library: </label><select name="branchfilter" id="branchfilter">
<option value="">All</option>
<!-- TMPL_LOOP name="branchloop" -->
<!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR NAME="value" -->" selected="selected"><!-- TMPL_VAR NAME="branchname" --></option>
<option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="branchname" --></option>
<!-- /TMPL_IF -->
<!-- /TMPL_LOOP -->
- </select></td>
- <td><select name="itemtypesfilter">
+ </select></li>
+ <li><label for="itemtypesfilter">Item Type: </label><select name="itemtypesfilter" id="itemtypesfilter">
<option value="">All</option>
<!-- TMPL_LOOP name="itemtypeloop" -->
<!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR NAME="value" -->" selected="selected"><!-- TMPL_VAR NAME="description" --></option>
<option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="description" --></option>
<!-- /TMPL_IF -->
<!-- /TMPL_LOOP -->
- </select></td>
- <td><!-- holdingbranch --></td>
- <td><!-- location --></td>
- </tr>
- <!-- TMPL_LOOP NAME="itemsloop"-->
- <tr>
- <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber"-->" title="<!-- TMPL_VAR NAME="itemnotes"-->">
- <!-- TMPL_VAR NAME="barcode"-->
- </a></td>
- <td><!-- TMPL_VAR NAME="datelastseen"--></td>
- <td><!-- TMPL_VAR NAME="price" --></td>
- <td><!-- TMPL_VAR NAME="homebranch" --></td>
- <td><!-- TMPL_VAR NAME="itemtype" --></td>
- <td><!-- TMPL_VAR NAME="holdingbranch"--></td>
- <td><!-- TMPL_VAR NAME="location"--></td>
- </tr>
- <!-- /TMPL_LOOP -->
- </table>
+ </select></li>
+
+ <li><label for="loststatusfilter">Lost Status: </label><select name="loststatusfilter" id="loststatusfilter">
+ <option value="">All</option>
+ <!-- TMPL_LOOP name="loststatusloop" -->
+ <!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR NAME="authorised_value" -->" selected="selected"><!-- TMPL_VAR NAME="lib" --></option>
+ <!-- TMPL_ELSE -->
+ <option value="<!-- TMPL_VAR NAME="authorised_value" -->"><!-- TMPL_VAR NAME="lib" --></option>
+ <!-- /TMPL_IF -->
+ <!-- /TMPL_LOOP -->
+ </select></li>
+</ol></fieldset>
+<fieldset class="action"> <input type="submit" value="Submit" />
+ <input type="hidden" name="get_items" value="1" /></fieldset>
</form>
+
+ <!-- /TMPL_IF -->
</div>
</div>