Bugzilla – Attachment 4532 Details for
Bug 6268
Bad Total in basket.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
follow up patch for the form
0001-BZ6268-follow-up-for-the-form.patch (text/plain), 979 bytes, created by
Paul Poulain
on 2011-06-29 19:11:36 UTC
(
hide
)
Description:
follow up patch for the form
Filename:
MIME Type:
Creator:
Paul Poulain
Created:
2011-06-29 19:11:36 UTC
Size:
979 bytes
patch
obsolete
>From 7988b08483dda53168b99f6fdb93b82a95a7ae64 Mon Sep 17 00:00:00 2001 >From: Paul Poulain <paul.poulain@biblibre.com> >Date: Wed, 29 Jun 2011 21:10:34 +0200 >Subject: [PATCH] BZ6268 follow-up for the form > >This follow up fixes cait request to calculate the form like the budget >--- > koha-tmpl/intranet-tmpl/prog/en/js/acq.js | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/js/acq.js b/koha-tmpl/intranet-tmpl/prog/en/js/acq.js >index bcfb7b8..044ca6f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/js/acq.js >+++ b/koha-tmpl/intranet-tmpl/prog/en/js/acq.js >@@ -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); >-- >1.7.4.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 6268
:
4005
|
4124
|
4223
|
4240
|
4241
|
4469
|
4470
|
4532
|
4555