Lines 664-670
function calcNeworderTotal(){
Link Here
|
664 |
|
664 |
|
665 |
//do real stuff |
665 |
//do real stuff |
666 |
var rrp = new Number(listprice*exchangerate); |
666 |
var rrp = new Number(listprice*exchangerate); |
667 |
var ecost = new Number(Math.floor(rrp * (100 - discount ))/100); |
667 |
var ecost = rrp; |
|
|
668 |
if (100-discount != 100) { //Prevent rounding issues if no discount |
669 |
ecost = new Number(Math.floor(rrp * (100 - discount ))/100); |
670 |
} |
668 |
var GST = new Number(0); |
671 |
var GST = new Number(0); |
669 |
if (gst_on) { |
672 |
if (gst_on) { |
670 |
rrp=rrp * (1+f.gstrate.value / 100); |
673 |
rrp=rrp * (1+f.gstrate.value / 100); |
671 |
- |
|
|