]> git.koha-community.org Git - koha.git/commit
Bug 14697: Add routes to handle return claims
authorKyle M Hall <kyle@bywatersolutions.com>
Tue, 29 Oct 2019 15:29:37 +0000 (12:29 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 31 Oct 2019 12:04:13 +0000 (12:04 +0000)
commita44ffa0926d648b4b1509c56e3227784f5404942
tree74de9fc0d85aee7db0d5f755bbb888d2264e7f6e
parent15d95a74e4712139ae7b377a5879d66e6d0d5277
Bug 14697: Add routes to handle return claims

This patch adds the /return_claims route to add new return claims, and
then routes to updates notes and the resolution code.

To test:
1. Apply this patches
2. Run:
   $ kshell
  k$ prove t/db_dependent/api/v1/return_claims.t
=> SUCCESS: Tests pass!
3. Sign off :-D

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/REST/V1/ReturnClaims.pm [new file with mode: 0644]
api/v1/swagger/definitions.json
api/v1/swagger/definitions/return_claim.json [new file with mode: 0644]
api/v1/swagger/paths.json
api/v1/swagger/paths/return_claims.json [new file with mode: 0644]
t/db_dependent/api/v1/return_claims.t [new file with mode: 0644]