From dc8186419530936cc71e3ebd7a5bdf4f5e82bd8f Mon Sep 17 00:00:00 2001 From: Paul Poulain Date: Mon, 16 Nov 2009 16:11:54 +0100 Subject: [PATCH] typo fix : list_price instead of listprice --- koha-tmpl/intranet-tmpl/prog/en/js/acq.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/js/acq.js b/koha-tmpl/intranet-tmpl/prog/en/js/acq.js index 8bbbdcff83..3acab0ce7c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/js/acq.js +++ b/koha-tmpl/intranet-tmpl/prog/en/js/acq.js @@ -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) { -- 2.39.5