Koha-FFZG#1517: Actual cost kod zaprimanja je 0 a trebalo bi prepisati Budgeted cost
authorDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 12 Jul 2012 10:43:01 +0000 (12:43 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 4 Jan 2016 14:56:38 +0000 (15:56 +0100)
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt

index 31b08c5..6d0e090 100644 (file)
         <li><label for="rrp">Replacement cost: </label><input type="text" size="20" name="rrp" id="rrp" value="[% rrp %]" /></li>
         <li><label for="ecost">Budgeted cost: </label><input type="text" size="20" name="ecost" id="ecost" value="[% ecost %]" /></li>
         <li><label for="cost">Actual cost:</label>
-        [% IF ( unitprice ) %]
+        [% IF ( unitprice > 0 ) %]
          <input type="text" size="20" name="cost" id="cost" value="[% unitprice %]" />
         [% ELSE %]
             <input type="text" size="20" name="cost" id="cost" value="[% ecost %]" />