From 6a4c77bc4fa1e35751f10c742e58c85a801f2a55 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=UTF-8 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 --- 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 7011052..a5047e7 100644 --- a/admin/columns_settings.yml +++ b/admin/columns_settings.yml @@ -292,6 +292,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 e5e3866..912dba5 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.1.4