Bug 19058: Move C4::Reserves::GetReserveId to the Koha namespace
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 2 Aug 2017 15:46:11 +0000 (12:46 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 1 Sep 2017 20:05:17 +0000 (17:05 -0300)
commitba1f2f93ef58c8dd935add3e215facdd4a589d12
tree39cbc29c123299b0477f171f6c5227130a917beb
parentfba915e911a3b50ff9a0ea96d25a464836471073
Bug 19058: Move C4::Reserves::GetReserveId to the Koha namespace

GetReserveId can easily be replaced with a call to
Koha::Holds->search->next->reserve_id

It will ease next changes to use Koha::Hold objects

Test plan:
Cancel a reserve and print a slip reserve

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Reserves.pm
t/db_dependent/Circulation.t
t/db_dependent/Holds.t