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> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
3f55688626
commit
7d8b2d67ff
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue