https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36481

Pedro Amorim <pedro.amo...@ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #164237|0                           |1
        is obsolete|                            |

--- Comment #5 from Pedro Amorim <pedro.amo...@ptfs-europe.com> ---
Created attachment 164415
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=164415&action=edit
Bug 36481: Add GET /libraries/:library_id/cash_registers

This patch adds the mentioned route. For the task it:

* Adds Koha::Cash::Register->to_api_mapping with trivial mappings
* Adds a cash_register object definition on the API spec
* Adds a controller to handle requests
* Adds tests for the new endpoint

To test:
1. Apply this patch
2. Run:
   $ ktd --shell
  k$ qa
=> SUCCESS: All green! Tests pass!
3. Play with Postman!
4. Sign off :-D

Signed-off-by: David Nind <da...@davidnind.com>
Signed-off-by: Pedro Amorim <pedro.amo...@ptfs-europe.com>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to