BZ6268 follow-up for the form
This follow up fixes cait request to calculate the form like the budget
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 1e16c7cbab)
Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
This commit is contained in:
parent
0afdcd38dc
commit
a48bf80e49
|
|
@ -664,7 +664,7 @@ function calcNeworderTotal(){
|
|||
|
||||
//do real stuff
|
||||
var rrp = new Number(listprice*exchangerate);
|
||||
var ecost = new Number(rrp * (100 - discount ) / 100);
|
||||
var ecost = new Number(Math.floor(rrp * (100 - discount ))/100);
|
||||
var GST = new Number(0);
|
||||
if (gst_on) {
|
||||
rrp=rrp * (1+f.gstrate.value / 100);
|
||||
|
|
|
|||
Loading…
Reference in New Issue