From 8a118d01bf3e2415b02fd4a8a820203491a2af90 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 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This patch adds a new "Lost on" column to the result table Signed-off-by: Katrin Fischer Signed-off-by: Séverine QUEUNE Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart --- admin/columns_settings.yml | 2 ++ .../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 7011052c48..a5047e769f 100644 --- a/admin/columns_settings.yml +++ b/admin/columns_settings.yml @@ -291,6 +291,8 @@ modules: columnname: author - columnname: lostcode + - + columnname: itemlost_on - columnname: barcode - 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 e5e3866cba..912dba5e60 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt @@ -39,10 +39,11 @@ Title Author - Lost code + Lost status + Lost on Barcode Call number - Date last seen + Date last seen Price Rep.price Library @@ -61,11 +62,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.39.5