Bug 18639: (QA follow-up) Fix formatting of replacement cost when modifying an order
authorKatrin Fischer <katrin.fischer.83@web.de>
Tue, 28 Aug 2018 07:55:37 +0000 (07:55 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 31 Aug 2018 12:46:52 +0000 (12:46 +0000)
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt

index ef2f652..cd6837a 100644 (file)
@@ -2,6 +2,7 @@
 [% USE Asset %]
 [% USE Koha %]
 [% USE KohaDates %]
+[% USE Price %]
 [% SET footerjs = 1 %]
 [% INCLUDE 'doc-head-open.inc' %]
 <title>Koha &rsaquo; Acquisitions &rsaquo; Basket [% basketno | html %] &rsaquo; [% IF ( ordernumber ) %]Modify order details (line #[% ordernumber | html %])[% ELSE %]New order[% END %]</title>
             </li>
             <li>
                 <label for="replacementprice">Replacement cost: </label>
-                <input type="text" size="20" name="replacementprice" id="replacementprice" value="[% replacementprice | html %]" />
+                <input type="text" size="20" name="replacementprice" id="replacementprice" value="[% replacementprice | html | $Price on_editing => 1 %]" />
             </li>
             <li>
                 <label for="ecost">Budgeted cost: </label>