Bug 21205: Replace C4::Items::GetOrderFromItemnumber calls
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 6 Aug 2018 21:48:29 +0000 (18:48 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 8 Nov 2018 20:47:16 +0000 (20:47 +0000)
commit7d10549ae8632e6640d3a99014268a2a1e46b3c4
tree22dcfaf1e26fd30210883375d7bce8a27042f086
parent9dc5a53daabc0b7a07430bf0f5ba469d2b4c2e6c
Bug 21205: Replace C4::Items::GetOrderFromItemnumber calls

This is done to ease the move of C4::Items (bug 18252) to Koha::Items

  my @itemnumbers = GetItemnumbersFromOrder($order->{ordernumber});
will become
  my @itemnumbers = $order_object->items->get_column('itemnumbers');

Test plan:
- Create an order with several items
- Receive some items

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
C4/Acquisition.pm
acqui/basket.pl
acqui/finishreceive.pl
acqui/orderreceive.pl
acqui/parcel.pl
opac/opac-detail.pl
t/db_dependent/Acquisition/CancelReceipt.t
t/db_dependent/Acquisition/TransferOrder.t