From 4a0825ececfccd0a5c2cf7b77d7e6e726fd7e560 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sat, 5 Jan 2019 05:41:48 +0000 Subject: [PATCH] Bug 22113: Add price formatting on item lost report The item lost report displays the price and replacement price for lost items. With the patch they will display according to the CurrencyFormat system preference. To test: - Mark 1 or more items lost - Make sure that replacement cost and purchase price are set - Go to Reports > Items lost - Search for your lost items - Verify price and replacement price display - Apply patch and toggle CurrencyFormat to different settings - Refresh lost items report - Verify prices are always displayed according to syspref setting --- koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 bae06c0656..578d21fba7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt @@ -5,6 +5,7 @@ [% USE ColumnsSettings %] [% USE KohaDates %] [% USE ItemTypes %] +[% USE Price %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Koha › Reports › Lost items @@ -108,8 +109,8 @@ [% item.itemcallnumber | html %] [% item.datelastseen | $KohaDates %] - [% item.price | html %] - [% item.replacementprice | html %] + [% item.price | $Price %] + [% item.replacementprice | $Price %] [% Branches.GetName(item.homebranch) | html %] [% ItemTypes.GetDescription(item.effective_itemtype) | html %] [% Branches.GetName(item.holdingbranch) | html %] -- 2.11.0