From 53caf35af938405bcdd093329711774f4772c7e3 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 5 Oct 2017 16:44:38 -0300 Subject: [PATCH] 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 --- admin/columns_settings.yml | 2 ++ koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt | 8 +++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml index d2f377f0c8..be00353f33 100644 --- a/admin/columns_settings.yml +++ b/admin/columns_settings.yml @@ -267,6 +267,8 @@ modules: - columnname: lostcode - + columnname: itemlost_on + - columnname: barcode - columnname: callnumber diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt index 622f5b0846..0f1537da14 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt @@ -59,10 +59,11 @@ Title Author - Lost code + Lost status + Lost on Barcode Call number - Date last seen + Date last seen Price Rep.price Library @@ -81,11 +82,12 @@ [% item.biblio.author %] [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.itemlost', authorised_value => item.itemlost ) %] + [% item.itemlost_on | $KohaDates %] [% item.barcode %] [% item.itemcallnumber %] - [% item.datelastseen | $KohaDates %] + [% item.datelastseen | $KohaDates %] [% item.price %] [% item.replacementprice %] [% Branches.GetName(item.homebranch) %] -- 2.11.0