Bug 38059 - Write off credits automatically
Summary: Write off credits automatically
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Command-line Utilities (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-02 08:37 UTC by Aude Charillon
Modified: 2024-10-02 08:37 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aude Charillon 2024-10-02 08:37:37 UTC
To comply with data retention regulations (as well as save themselves time), library teams want to delete inactive patron accounts automatically.

They can do this using the delete_patrons.pl script. The script does not delete patrons that have: 1) items on loan; 2) money owing; 3) money in credit; 4) guarantees attached. 1) can be dealt with using longoverdue.pl and 2) with writeoff_debts.pl. However, there is nothing to write off credits as in 3).

It would be useful to have a script similar to writeoff_debts.pl but for credits.