Bug 14697: Introduce Koha::Checkouts::ReturnClaim(s)
authorKyle M Hall <kyle@bywatersolutions.com>
Tue, 29 Oct 2019 15:26:56 +0000 (12:26 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 31 Oct 2019 12:03:33 +0000 (12:03 +0000)
commite89c5bfed6a75d7222c8328e2b4371066ee06ff3
tree9df5b459a58e1c46e643a61a0365ad06e561bcfe
parent2e09dc9319bd95e479879a52fbbe3e8c934e741f
Bug 14697: Introduce Koha::Checkouts::ReturnClaim(s)

This patch introduces the Koha::Object(s)-derived classes for handling
return claims. Tests are added to cover the overloaded ->store method,
and domain-specific exceptions are added as well.

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

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Lisette Scheer <lisetteslatah@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/Checkouts/ReturnClaim.pm [new file with mode: 0644]
Koha/Checkouts/ReturnClaims.pm [new file with mode: 0644]
Koha/Exceptions/Checkouts/ReturnClaims.pm [new file with mode: 0644]
t/db_dependent/Koha/Checkouts/ReturnClaim.t [new file with mode: 0644]