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:
Paul Poulain 2011-06-29 21:10:34 +02:00 committed by Chris Nighswonger
parent 0afdcd38dc
commit a48bf80e49
1 changed files with 1 additions and 1 deletions

View File

@ -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);