]> git.koha-community.org Git - koha.git/commit
Bug 29453: Add endpoints for fetching patron credits & debits
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 10 Nov 2021 16:07:00 +0000 (16:07 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 5 May 2023 15:13:50 +0000 (12:13 -0300)
commitf4c6a5dfd5785f16dc47f05db89dc8d23e74d674
tree1b5c1e84bf154981706a41026596f52ed58b4cc0
parent020f710e3100b56e30a70d1465e70bd671e3ed17
Bug 29453: Add endpoints for fetching patron credits & debits

This patch adds two new API endpoints for fetching a patrons credits and
a patrons debits.

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Agustin Moyano <agustinmoyano@theke.io>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
12 files changed:
Koha/Account.pm
Koha/Account/Credit.pm [new file with mode: 0644]
Koha/Account/Credits.pm [new file with mode: 0644]
Koha/Account/Debit.pm [new file with mode: 0644]
Koha/Account/Debits.pm [new file with mode: 0644]
Koha/Account/Line.pm
Koha/REST/V1/Patrons/Account.pm
api/v1/swagger/definitions/account_line.yaml
api/v1/swagger/definitions/credit.yaml [new file with mode: 0644]
api/v1/swagger/definitions/debit.yaml [new file with mode: 0644]
api/v1/swagger/paths/patrons_account.yaml
api/v1/swagger/swagger.yaml