partial fix for bug 1891
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / reports / itemslost.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Reports &rsaquo; Lost Items</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 </head>
5 <body>
6 <!-- TMPL_INCLUDE NAME="header.inc" -->
7 <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
8
9 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a><!-- TMPL_IF NAME="get_items" --> &rsaquo; <a href="/cgi-bin/koha/reports/itemslost.pl">Lost Items</a> &rsaquo; Results<!-- TMPL_ELSE --> &rsaquo; Lost Items<!-- /TMPL_IF --></div>
10
11 <div id="doc3" class="yui-t2">
12    
13    <div id="bd">
14         <div id="yui-main">
15         <div class="yui-b">
16
17 <h1>Lost Items</h1>
18
19 <!-- TMPL_IF NAME="get_items" -->
20
21 <div class="results">
22     <!-- TMPL_IF NAME="total" -->
23         <!-- TMPL_VAR NAME="total" --> lost items found
24     <!-- TMPL_ELSE-->
25         No lost items found
26     <!-- /TMPL_IF -->
27 </div>
28
29     <!-- TMPL_IF NAME="itemsloop" --><table>
30     <tr>
31         <th>Barcode</th>
32         <th>Date last seen</th>
33         <th>Price</th>
34         <th>Branch</th>
35         <th>Itemtype</th>
36         <th>Holdingbranch</th>
37         <th>Location</th>
38     </tr>
39      <!-- TMPL_LOOP NAME="itemsloop"-->
40         <tr>
41             <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber"-->" title="<!-- TMPL_VAR NAME="itemnotes"-->">
42                     <!-- TMPL_VAR NAME="barcode"-->
43                 </a></td>
44             <td><!-- TMPL_VAR NAME="datelastseen"--></td>
45             <td><!-- TMPL_VAR NAME="price" --></td>
46             <td><!-- TMPL_VAR NAME="homebranch" --></td>
47             <td><!-- TMPL_VAR NAME="itemtype" --></td>
48             <td><!-- TMPL_VAR NAME="holdingbranch"--></td>
49             <td><!-- TMPL_VAR NAME="location"--></td>
50         </tr>
51     <!-- /TMPL_LOOP -->
52     </table>
53         <!-- /TMPL_IF --> 
54         <!-- TMPL_ELSE -->
55         
56         <form name="f" action="/cgi-bin/koha/reports/itemslost.pl" method="post">
57 <fieldset class="rows"><ol>    <li><label for="orderbyfilter">Order by: </label>
58     <select id="orderbyfilter" name="orderbyfilter">
59         <option value=""> --- </option>
60         <option value="homebranch">Branch</option>
61         <option value="itemtype">Itemtypes</option>
62         <option value="barcode">Barcode</option>
63         <option value="price">price</option>
64     </select></li>
65         
66         <li><label for="barcodefilter">Barcode: </label><input type="text" name="barcodefilter" id="barcodefilter" size="6" /></li>
67         <li><label for="branchfilter">Branch: </label><select name="branchfilter" id="branchfilter">
68                 <option value="">All</option>
69             <!-- TMPL_LOOP name="branchloop" -->
70                 <!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR NAME="value" -->" selected="selected"><!-- TMPL_VAR NAME="branchname" --></option>
71                                 <!-- TMPL_ELSE -->
72                                 <option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="branchname" --></option>
73                                 <!-- /TMPL_IF -->
74             <!-- /TMPL_LOOP -->
75             </select></li>
76         <li><label for="itemtypesfilter">Item Type: </label><select name="itemtypesfilter" id="itemtypesfilter">
77                 <option value="">All</option>
78                 <!-- TMPL_LOOP name="itemtypeloop" -->
79                 <!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR NAME="value" -->" selected="selected"><!-- TMPL_VAR NAME="description" --></option>
80                                 <!-- TMPL_ELSE -->
81                                 <option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="description" --></option>
82                                 <!-- /TMPL_IF -->
83                 <!-- /TMPL_LOOP -->
84             </select></li></ol></fieldset>
85 <fieldset class="action">    <input type="submit" value="Submit" />
86     <input type="hidden" name="get_items" value="1" /></fieldset>
87 </form>
88         
89         <!-- /TMPL_IF -->
90
91 </div>
92 </div>
93 <div class="yui-b">
94 <!-- TMPL_INCLUDE NAME="reports-menu.inc" -->
95 </div>
96 </div>
97 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->