|
|
Reported:
|
2021-12-20 17:16 UTC by Tomás Cohen Arazi
|
Modified:
|
2022-01-11 14:26 UTC
(History)
|
|
7
users
(show)
|
|
See Also:
|
|
Patch complexity:
|
---
|
Documentation contact:
|
|
Documentation submission:
|
|
Text to go in the release notes:
|
This enhancement adds a handy method for checking if a patron meets the conditions to be deleted. These conditions are:
- Has no linked guarantees
- Has no pending debts
- Has no current checkouts
- Is not the system-configured anonymous user
It also adapts the DELETE /patrons route to use the newly introduced Koha::Patron->safe_to_delete method.
|
Version(s) released in:
|
22.05.00,21.11.02
|
|
|