Bug 22360: (bug 21205 follow-up) Restore OPACAcquisitionDetails behavior
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 21 Feb 2019 18:28:10 +0000 (15:28 -0300)
committerLucas Gass <lucas@bywatersolutions.com>
Mon, 11 Mar 2019 22:04:56 +0000 (22:04 +0000)
commit8bde7a22542528eea18ebd21baf54805e8d0cbc7
tree13651326110c10f74b6f8868111a761839df59f0
parentccdc3afb148fb6b1e7ab2b295dc9adbf668184df
Bug 22360: (bug 21205 follow-up) Restore OPACAcquisitionDetails behavior

Caused by
  commit 7d10549ae8632e6640d3a99014268a2a1e46b3c4
  Bug 21205: Replace C4::Items::GetOrderFromItemnumber calls

At this point $order is a Koha::Acquisition::Order object, not a hashref
anymore.

Test plan:
Create an order, receive items
Enable OPACAcquisitionDetails
At the detail page of the bibliographic record you should see
"X items are on order." at the bottom of the items list

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 2331b8a295ce3db011b88bf3d42eacd42c9df4ee)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit db36421446fcdb40ac6aeeca3a7b7cb4a6711bda)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
opac/opac-detail.pl