Koha-clms/Koha/REST/V1
Martin Renvoize 9ba40e1adf Bug 26274: Add cashups api routes
This patch creates a Koha::Cash::Register::Cashup(s) class pair which
subclass Koha::Cash::Register::Action(s) and moves the cashup specific
code into these new classes to improve code separation.

We then introduce API routes based on these classes to allow fetching
a list of cashups associated to a cash register and a full cashup with
emeddable summary for individual cashups.

Test plan
1/ Run the updated unit tests.
   t/db_dependent/Koha/Cash/Register/Action.t
   t/db_dependent/Koha/Cash/Register/Cashup.t
2/ Run the incuded api tests.
   t/db_dependent/api/v1/cashups.t

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-02-12 12:33:41 +01:00
..
Acquisitions Bug 20212: Filter on publisher and notes 2021-01-28 16:44:48 +01:00
CashRegisters Bug 26274: Add cashups api routes 2021-02-12 12:33:41 +01:00
Clubs Bug 27330: (QA follow-up) Return 409 instead 2021-02-01 16:36:38 +01:00
Config/SMTP Bug 22343: API routes for SMTP servers CRUD 2020-10-02 10:54:40 +02:00
Patrons Bug 25032: Make existing controllers use unhandled_exception 2020-04-29 16:24:18 +01:00
AdvancedEditorMacro.pm Bug 25502: Adapt Advanced macros routes to current guidelines 2020-05-19 15:21:16 +01:00
Auth.pm Bug 26322: Permissions not checked correctly for plugins 2020-09-29 14:28:18 +02:00
Biblios.pm Bug 27352: Missed case in bug 25032 2021-01-29 09:03:45 +01:00
Checkouts.pm Bug 27544: Simplify GET /checkouts implementation 2021-01-28 16:41:20 +01:00
CirculationRules.pm Bug 18936: (QA follow-up) Add missing POD 2020-02-04 09:56:30 +00:00
Cities.pm Bug 25048: Make successful resource deletion return 204 2020-04-29 16:24:43 +01:00
Holds.pm Bug 26181: Disable override by default in /holds 2021-02-12 12:14:50 +01:00
Illbackends.pm Bug 22615: Fix perlcritic 2020-03-05 13:03:46 +00:00
Illrequests.pm Bug 23391: Remove warnings 2020-07-20 17:45:30 +02:00
ImportBatchProfiles.pm Bug 23019: (follow-up) Fix other things 2020-11-11 15:55:49 +01:00
Items.pm Bug 25032: Make existing controllers use unhandled_exception 2020-04-29 16:24:18 +01:00
Libraries.pm Bug 25032: Make existing controllers use unhandled_exception 2020-04-29 16:24:18 +01:00
OAuth.pm Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
Patrons.pm Bug 27353: Set X-Base-Total-Count header for REST API 2021-01-28 16:41:21 +01:00
Quotes.pm Bug 27251: Rewrite QOTD with the Koha REST API 2021-01-29 09:03:45 +01:00
ReturnClaims.pm Bug 25032: Make existing controllers use unhandled_exception 2020-04-29 16:24:18 +01:00
Stage.pm Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
Static.pm Bug 27179: Misspelling of Method in REST API files 2021-01-22 14:59:27 +01:00