[Koha-bugs] [Bug 2865] Acquisitions: GST not calculating correctly.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Feb 28 00:55:48 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2865

Chris Hall <chrish at catalyst.net.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |Needs Signoff
         AssignedTo|chris at bigballofwax.co.nz    |chrish at catalyst.net.nz

--- Comment #1 from Chris Hall <chrish at catalyst.net.nz> 2012-02-27 23:55:48 UTC ---
Created attachment 7911
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=7911
Makes corrections to acq.js and parcel.pl regarding gst and discount
calculations

Attached patch makes the following corrections:

acqui/parcel.pl which was incorrectly displaying and calculating gst (if gst
was 0.15 it would display as 0.1500 whereas everything else is to 2dp, and it
would add gst as price + gst thus adding 0.15 rather than 0.15%)

acq.js which had some small logic errors dealing with GST calculations and
discount calculations.

RRP should take vendor discount into account always, and should include the
vendor tax rate if the list price doesn't already include it.

I hope my solution is suitable for all and that it is suitable to attach this
patch here.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the Koha-bugs mailing list