https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37535
Bug ID: 37535
Summary: Adding a debit via API will show the belated patron as
the librarian that caused the debit
Change sponsored?: ---
Product: Koha
Version: Main
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: REST API
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected]
When POSTing
{
"amount": 1.17,
"description": "some description",
"internal_note": "internal_noteo",
"type": "MANUAL",
"user_id": 17
}
to http://localhost:8081/api/v1/patrons/5/account/debits
I would expect patron 5 to be debited by user_id 17. At least that is what the
definition for debit says. But instead the belated patron is also shown as
librarian in
http://localhost:8081/cgi-bin/koha/members/accountline-details.pl?accountlines_id=<ACCOUNTLINE
FROM RESPONSE>
When POSTing without user_id I would expect that the user_id is gained from the
api user, but also the belated patron is shown as librarian.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
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/