Bug 18402: Add the Koha::Item->checkout method
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 5 Apr 2017 19:42:35 +0000 (16:42 -0300)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 28 Apr 2017 13:01:35 +0000 (09:01 -0400)
commita067af7fe2e1a1f0beefadbb319a2bf2e9b9884f
tree361aec4adecb9591c747341733cc6da0d3268e32
parent02dffe16081fdcf35b50824d963d2420546a95eb
Bug 18402: Add the Koha::Item->checkout method

Return the current checkout for a given item.
Note it may not exist.

Test plan:
  prove t/db_dependent/Koha/Items.t
should return green

Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Koha/Item.pm
t/db_dependent/Koha/Items.t