[Koha-bugs] [Bug 11680] tax rate changes on edit

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 5 12:19:08 CET 2014


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

Jacek Ablewicz <abl at biblos.pk.edu.pl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |Needs Signoff
                 CC|                            |abl at biblos.pk.edu.pl
           Assignee|koha-bugs at lists.koha-commun |abl at biblos.pk.edu.pl
                   |ity.org                     |

--- Comment #1 from Jacek Ablewicz <abl at biblos.pk.edu.pl> ---
Created attachment 25048
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=25048&action=edit
Proposed patch

If the tax rates in Acquisitions -> gist system preference are entered
with trailing zeroes, given order tax rate value may not be correctly
handled on order edit.

To test:

1) insert some tax rates with trailing zeroes in gist
system preference (e.g: '0|0.080|0.12|0.20|0.23')
2) place some new orders, choosing 8.0% 12.0% 20.0% 23.0%
as gst rate
3) try to modify them
4) note that orders with 12.0% and 23.0% tax rates are
preserving previously choosen rates on edit, while
the ones with 8.0% and 20.0% do not (they are defaulting
to the first defined tax rate)
5) apply the patch
6) repeat 2) and 3)
7) all tax rates configured in system prefrence shall now
behave properly while editing orders

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list