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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 12 Jun 2020 08:32:35 +0000 (10:32 +0200)
commit5ae7554667a209962a169f3a3b1d4b5b4beb398c
treebcb46bb1d8bac39738f0ed704d6d91a4c888e5e5
parent4c548cb08f3f3013778da71d47745f48b6adffd8
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>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt