]> git.koha-community.org Git - koha.git/commit
Bug 29955: Move populate_order_with_prices to Koha namespace
authorJulian Maurice <julian.maurice@biblibre.com>
Wed, 26 Jan 2022 14:58:26 +0000 (15:58 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 19 Aug 2022 18:47:51 +0000 (15:47 -0300)
commitb760eb47256c3a4284df2d01bd042c164d7e94b0
tree8232559c31ef9d0a215433c8ba16ac9c272e652f
parent39df2a2a3d81d7dc5bc2e04ef69129c4d8647110
Bug 29955: Move populate_order_with_prices to Koha namespace

and split the subroutine into 2 smaller subroutines (one for ordering,
the other for receiving)

Test plan:
1. Create a vendor and an acquisition basket
2. In this basket, create new orders using all the different methods
   (from an existing record, from a suggestion, from a new record, ...)
   then close the basket and receive these orders.
   Make sure it works the same with and without the patch
3. Run tests in t/Prices.t,
   t/db_dependent/Acquisition/populate_order_with_prices.t, and
   t/db_dependent/Budgets.t

Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
C4/Acquisition.pm
Koha/Acquisition/Order.pm
acqui/addorder.pl
acqui/addorderiso2709.pl
acqui/finishreceive.pl
t/Prices.t
t/db_dependent/Acquisition/populate_order_with_prices.t
t/db_dependent/Budgets.t