typo fix : list_price instead of listprice
This commit is contained in:
parent
feaaffd0b1
commit
dc81864195
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue