Bugzilla – Attachment 121573 Details for
Bug 28280
Item types configuration page doesn't use Price filter for default replacement cost and processing fee
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28280: itemtype page, add price formatting
Bug-28280-itemtype-page-add-price-formatting.patch (text/plain), 1.96 KB, created by
Katrin Fischer
on 2021-06-03 10:33:12 UTC
(
hide
)
Description:
Bug 28280: itemtype page, add price formatting
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2021-06-03 10:33:12 UTC
Size:
1.96 KB
patch
obsolete
>From 18ce3a50aaacf575f1cc487f69e551bdac6afa6b Mon Sep 17 00:00:00 2001 >From: Didier Gautheron <didier.gautheron@biblibre.com> >Date: Tue, 4 May 2021 09:15:52 +0200 >Subject: [PATCH] Bug 28280: itemtype page, add price formatting > >To Test: >1- create an item type with a 'Default replacement cost' and a >'Processing fee (when lost)' >2- numbers are displayed with 6 decimals. >4- apply patch >5- numbers are displayed with 2 decimals. > >Signed-off-by: David Nind <david@davidnind.com> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt >index 774b3da19b..dbab84bdcb 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt >@@ -344,11 +344,11 @@ Item types › Administration › Koha > </li> > <li> > <label for="defaultreplacecost">Default replacement cost: </label> >- <input type="text" id="defaultreplacecost" name="defaultreplacecost" size="10" value="[% itemtype.defaultreplacecost | html %]" /> >+ <input type="text" id="defaultreplacecost" name="defaultreplacecost" size="10" value="[% itemtype.defaultreplacecost | $Price on_editing => 1 %]" /> > </li> > <li> > <label for="processfee">Processing fee (when lost): </label> >- <input type="text" id="processfee" name="processfee" size="10" value="[% itemtype.processfee | html %]" /> >+ <input type="text" id="processfee" name="processfee" size="10" value="[% itemtype.processfee | $Price on_editing => 1 %]" /> > </li> > <li> > <label for="checkinmsg">Checkin message: </label> >-- >2.11.0
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 28280
:
120427
|
121502
| 121573