Bug 28588: Add Koha::Checkouts::ReturnClaim->resolve
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 18 Jun 2021 19:15:15 +0000 (16:15 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 23 Jun 2021 13:09:56 +0000 (15:09 +0200)
commit9964bd4b58bd114e052d5448a5a2fe4c1dfcf3d3
tree721b79454793e9ca57dd99fac9c5160601cf216d
parent471fb27313751d9246a90a3e2fae4782a4973ba1
Bug 28588: Add Koha::Checkouts::ReturnClaim->resolve

This patch introduces a high-level method for resolving claims.
The behavior intends to replace the code in the API controller that is
used for resolving a claim.

To test:
1. Apply this patches
2. Run:
   $ kshell
  k$ prove t/db_dependent/Koha/Checkouts/ReturnClaim.t
=> SUCCESS: Tests pass
3. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Checkouts/ReturnClaim.pm