]> git.koha-community.org Git - koha.git/commit
Bug 14543: Order lines updated that have a tax rate not in gist will have tax rate...
authorKyle M Hall <kyle@bywatersolutions.com>
Thu, 16 Jul 2015 16:14:42 +0000 (12:14 -0400)
committerAleisha Amohia <aleishaamohia@hotmail.com>
Wed, 17 Jun 2020 23:32:48 +0000 (11:32 +1200)
commit6bdb4287c3509e19710540319793da655d08d96f
tree0d709f43ff2c9a4b908f131b9c9e79b8d39a08e8
parent7db46079cd4a5acddbcb05a143309d8f2d30453a
Bug 14543: Order lines updated that have a tax rate not in gist will have tax rate set to 0!

If the tax rate for a given order line has been removed from the system
preference gist, that tax rate will show in the pulldown as 0. If a
librarian then saves the order line the original tax rate will be
overwritten with 0%!

Test Plan:
1) Find an order line
2) Remove the tax rate set for that order line from the syspref gist
3) Edit the order line
4) Note the tax rate is 0
5) Apply this patch
6) Edit the order line
7) Note the tax rate now displays with a warning

Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 5ae7554667a209962a169f3a3b1d4b5b4beb398c)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit c292fb91a509b317f09a73686c405750cd942e42)

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt