Bug 9573: Lost items report - Add a new itemlost_on column

This patch adds a new "Lost on" column to the result table

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Jonathan Druart 2017-10-05 16:44:38 -03:00
parent c2eb7633ca
commit 8a118d01bf
2 changed files with 7 additions and 3 deletions

View File

@ -291,6 +291,8 @@ modules:
columnname: author
-
columnname: lostcode
-
columnname: itemlost_on
-
columnname: barcode
-

View File

@ -39,10 +39,11 @@
<tr>
<th>Title</th>
<th>Author</th>
<th>Lost code</th>
<th>Lost status</th>
<th class="title-string">Lost on</th>
<th>Barcode</th>
<th>Call number</th>
<th>Date last seen</th>
<th class="title-string">Date last seen</th>
<th>Price</th>
<th>Rep.price</th>
<th>Library</th>
@ -61,11 +62,12 @@
</td>
<td>[% item.biblio.author %]</td>
<td>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.itemlost', authorised_value => item.itemlost ) %]
<td><span title="[% item.itemlost_on %]"</span>[% item.itemlost_on | $KohaDates %]</span></td>
<td>
<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% item.biblionumber %]" title="[% item.itemnotes %]">[% item.barcode %]</a>
</td>
<td>[% item.itemcallnumber %]</td>
<td>[% item.datelastseen | $KohaDates %]</td>
<td><span title="[% item.datelastseen %]">[% item.datelastseen | $KohaDates %]</span></td>
<td>[% item.price %]</td>
<td>[% item.replacementprice %]</td>
<td>[% Branches.GetName(item.homebranch) %]</td>