Koha-clms/t/db_dependent/Acquisition
Nick Clemens f27aba73f6
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 0aeae50229)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2019-03-25 14:29:31 +00:00
..
CancelReceipt.t Bug 21205: Replace C4::Items::GetOrderFromItemnumber calls 2018-11-08 20:47:16 +00:00
FillWithDefaultValues.t Bug 14334: Remove AutoCommit from tests 2018-12-17 12:08:58 +00:00
GetBasketAsCSV.t Bug 18720: Use exception instead of die in GetBasketAsCsv 2018-10-31 13:47:17 +00:00
GetBasketsInfosByBookseller.t Bug 21385: Add Unit Tests 2018-10-01 23:57:17 +00:00
GetOrdersByBiblionumber.t Bug 20144: [sql_modes] Shorten aqbudgets.budget_code 2018-02-13 13:58:52 -03:00
Invoices.t Bug 20144: [sql_modes] Shorten aqbudgets.budget_code 2018-02-13 13:58:52 -03:00
NewOrder.t Bug 21817: Fix 2 failing tests 2019-01-07 14:50:28 +00:00
OrderFromSubscription.t Bug 20144: [sql_modes] Fix date format in tests 2018-02-13 13:58:50 -03:00
OrderUsers.t Bug 20287: Replace occurrences of AddMember with Koha::Patron->new->store->borrowernumber 2018-07-18 15:49:47 +00:00
StandingOrders.t Bug 19256: Make Koha::Acq::Order using Koha::Object 2017-09-07 15:03:04 -03:00
TransferOrder.t Bug 21205: Replace C4::Items::GetOrderFromItemnumber calls 2018-11-08 20:47:16 +00:00
close_reopen_basket.t Bug 19120: Add tests to reproduce the problem 2017-09-29 12:37:00 -03:00
populate_order_with_prices.t Bug 18736: Calculate tax depending on rounding 2019-03-25 14:29:31 +00:00