|
Lines 1-5
Link Here
|
|
|
1 |
[% USE AuthorisedValues %] |
| 1 |
[% USE Branches %] |
2 |
[% USE Branches %] |
| 2 |
[% USE ColumnsSettings %] |
3 |
[% USE ColumnsSettings %] |
|
|
4 |
[% USE KohaDates %] |
| 3 |
[% INCLUDE 'doc-head-open.inc' %] |
5 |
[% INCLUDE 'doc-head-open.inc' %] |
| 4 |
<title>Koha › Reports › Lost items</title> |
6 |
<title>Koha › Reports › Lost items</title> |
| 5 |
[% INCLUDE 'doc-head-close.inc' %] |
7 |
[% INCLUDE 'doc-head-close.inc' %] |
|
Lines 42-55
Link Here
|
| 42 |
[% IF ( get_items ) %] |
44 |
[% IF ( get_items ) %] |
| 43 |
|
45 |
|
| 44 |
<div class="results"> |
46 |
<div class="results"> |
| 45 |
[% IF ( total ) %] |
47 |
[% IF items.count%] |
| 46 |
[% total %] lost items found |
48 |
[% items.count %] lost items found |
| 47 |
[% ELSE %] |
49 |
[% ELSE %] |
| 48 |
No lost items found |
50 |
No lost items found |
| 49 |
[% END %] |
51 |
[% END %] |
| 50 |
</div> |
52 |
</div> |
| 51 |
|
53 |
|
| 52 |
[% IF itemsloop %] |
54 |
[% IF items.count %] |
| 53 |
<table id="lostitems-table"> |
55 |
<table id="lostitems-table"> |
| 54 |
<thead> |
56 |
<thead> |
| 55 |
<tr> |
57 |
<tr> |
|
Lines 69-93
Link Here
|
| 69 |
</tr> |
71 |
</tr> |
| 70 |
</thead> |
72 |
</thead> |
| 71 |
<tbody> |
73 |
<tbody> |
| 72 |
[% FOREACH itemsloo IN itemsloop %] |
74 |
[% FOREACH item IN items %] |
| 73 |
<tr> |
75 |
<tr> |
| 74 |
<td> |
76 |
<td> |
| 75 |
<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% itemsloo.biblionumber %]" title="[% itemsloo.itemnotes %]">[% itemsloo.title |html %]</a> |
77 |
<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.biblionumber %]" title="[% item.itemnotes %]">[% item.biblio.title |html %]</a> |
| 76 |
</td> |
78 |
</td> |
| 77 |
<td>[% itemsloo.author %]</td> |
79 |
<td>[% item.biblio.author %]</td> |
| 78 |
<td>[% itemsloo.lib %]</td> |
80 |
<td>[% AuthorisedValues.GetByCode( 'LOST', item.itemlost ) %]</td> |
| 79 |
<td> |
81 |
<td> |
| 80 |
<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% itemsloo.biblionumber %]" title="[% itemsloo.itemnotes %]">[% itemsloo.barcode %]</a> |
82 |
<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% item.biblionumber %]" title="[% item.itemnotes %]">[% item.barcode %]</a> |
| 81 |
</td> |
83 |
</td> |
| 82 |
<td>[% itemsloo.itemcallnumber %]</td> |
84 |
<td>[% item.itemcallnumber %]</td> |
| 83 |
<td>[% itemsloo.datelastseen %]</td> |
85 |
<td>[% item.datelastseen | $KohaDates %]</td> |
| 84 |
<td>[% itemsloo.price %]</td> |
86 |
<td>[% item.price %]</td> |
| 85 |
<td>[% itemsloo.replacementprice %]</td> |
87 |
<td>[% item.replacementprice %]</td> |
| 86 |
<td>[% Branches.GetName(itemsloo.homebranch) %]</td> |
88 |
<td>[% Branches.GetName(item.homebranch) %]</td> |
| 87 |
<td>[% IF ( itemsloo.itype_level ) %][% itemsloo.itype %][% ELSE %][% itemsloo.itemtype %][% END %]</td> |
89 |
<td>[% item.effective_itemtype %]</td> |
| 88 |
<td>[% Branches.GetName(itemsloo.holdingbranch) %]</td> |
90 |
<td>[% Branches.GetName(item.holdingbranch) %]</td> |
| 89 |
<td>[% itemsloo.location %]</td> |
91 |
<td>[% item.location %]</td> |
| 90 |
<td>[% itemsloo.itemnotes %]</td> |
92 |
<td>[% item.itemnotes %]</td> |
| 91 |
</tr> |
93 |
</tr> |
| 92 |
[% END %] |
94 |
[% END %] |
| 93 |
</tbody> |
95 |
</tbody> |