Bugzilla – Attachment 84229 Details for
Bug 22113
Add price formatting on item lost report
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22113: Add price formatting on item lost report
Bug-22113-Add-price-formatting-on-item-lost-report.patch (text/plain), 2.24 KB, created by
José-Mario Monteiro-Santos
on 2019-01-18 22:01:35 UTC
(
hide
)
Description:
Bug 22113: Add price formatting on item lost report
Filename:
MIME Type:
Creator:
José-Mario Monteiro-Santos
Created:
2019-01-18 22:01:35 UTC
Size:
2.24 KB
patch
obsolete
>From c15a84c4bfff166964410d10c6d12fe9efde1120 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >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 > >Signed-off-by: Olivia Lu <olivialokm@gmail.com> >Signed-off-by: Jose-Mario Monteiro-Santos <jose-mario.monteiro-santos@inLibro.com> >--- > 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 bae06c0..578d21f 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' %] > <title>Koha › Reports › Lost items</title> >@@ -108,8 +109,8 @@ > </td> > <td>[% item.itemcallnumber | html %]</td> > <td><span title="[% item.datelastseen | html %]">[% item.datelastseen | $KohaDates %]</span></td> >- <td>[% item.price | html %]</td> >- <td>[% item.replacementprice | html %]</td> >+ <td>[% item.price | $Price %]</td> >+ <td>[% item.replacementprice | $Price %]</td> > <td>[% Branches.GetName(item.homebranch) | html %]</td> > <td>[% ItemTypes.GetDescription(item.effective_itemtype) | html %]</td> > <td>[% Branches.GetName(item.holdingbranch) | html %]</td> >-- >2.7.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 22113
:
83835
|
83923
|
84229
|
84268