typo fix : list_price instead of listprice

This commit is contained in:
Paul Poulain 2009-11-16 16:11:54 +01:00 committed by Henri-Damien LAURENT
parent feaaffd0b1
commit dc81864195
1 changed files with 2 additions and 2 deletions

View 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) {