]> git.koha-community.org Git - koha.git/commit
Bug 18736: Calculate tax depending on rounding
authorNick Clemens <nick@bywatersolutions.com>
Tue, 15 Jan 2019 15:06:06 +0000 (15:06 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 25 Mar 2019 14:29:31 +0000 (14:29 +0000)
commitf27aba73f626c9b2dd1418dffd7fcddb7eee73b2
tree4efdab92edda23dc99fa704471ca0fa1c555ef0c
parent2fc7a3917acd374706be3cb647a5bc813b908bcf
Bug 18736: Calculate tax depending on rounding

Marcel's comments pointed out that while I tried to avoid storing
rounded values it is required for tax generation.

This patch makes that change and adds test coverage and POD for
populate_order_with_prices

To test:
Follow plan on other patches, ensure that orders and totals match on the
basket, invoice, and budget pages

prove -v t/db_dependent/Acquisition/populate_order_with_prices.t

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 0aeae50229c6a381fe112644b72eefd6848fb655)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/Acquisition.pm
acqui/ordered.pl
t/db_dependent/Acquisition/populate_order_with_prices.t [new file with mode: 0644]