From 379ade6e0194864e82a6a3a0525d7fa431f2e35e Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 22 Feb 2019 14:00:37 +0000 Subject: [PATCH] Bug 8775: Add collection code to lost report This patch adds a column for collection code to the lost items report. To test, apply the patch and run the lost items report. You should see a collection code column. --- koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt | 2 ++ 1 file changed, 2 insertions(+) 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 d30dae8..640783a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt @@ -83,6 +83,7 @@ Rep.price Library Item type + Collection code Current location Location Not for loan status @@ -112,6 +113,7 @@ [% item.replacementprice | $Price %] [% Branches.GetName(item.homebranch) | html %] [% ItemTypes.GetDescription(item.effective_itemtype) | html %] + [% AuthorisedValues.GetByCode( 'CCODE', item.ccode ) | html %] [% Branches.GetName(item.holdingbranch) | html %] [% AuthorisedValues.GetByCode( 'LOC', item.location ) | html %] [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => item.notforloan ) | html %] -- 2.1.4