typo fix : list_price instead of listprice
authorPaul Poulain <paul.poulain@biblibre.com>
Mon, 16 Nov 2009 15:11:54 +0000 (16:11 +0100)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Mon, 16 Nov 2009 16:23:02 +0000 (17:23 +0100)
koha-tmpl/intranet-tmpl/prog/en/js/acq.js

index 8bbbdcf..3acab0c 100644 (file)
@@ -740,7 +740,7 @@ function calcNeworderTotal(){
     var listinc  = new Number (f.listinc.value);
     var currency = f.currency.value;
     var applygst = new Number (f.applygst.value);
-    var list_price   =  new Number(f.listprice.value);
+    var listprice   =  new Number(f.listprice.value);
     var invoiceingst =  new Number (f.invoiceincgst.value);
     var exchangerate =  new Number(f.elements[currency].value);      //get exchange rate
     var gst_on=(!listinc && invoiceingst);
@@ -763,7 +763,7 @@ function calcNeworderTotal(){
 
     f.ecost.value = ecost.toFixed(2);
     f.total.value = total.toFixed(2);
-    f.listprice.value =  list_price.toFixed(2);
+    f.listprice.value =  listprice.toFixed(2);
 
 //  gst-stuff needs verifing, mason.
     if (f.GST) {