]> 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)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 21 Mar 2019 16:29:06 +0000 (16:29 +0000)
commit0aeae50229c6a381fe112644b72eefd6848fb655
tree5c0c441b7c15fb126f0177a70158bce40f5c16e0
parent876323cf5bb5185834a875f3da29ac33f7760ef4
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>
C4/Acquisition.pm
acqui/ordered.pl
t/db_dependent/Acquisition/populate_order_with_prices.t [new file with mode: 0644]