Koha-clms/Koha/Patron
Nick Clemens a2ab689aed
Bug 39236: writeoff_debts.pl needs adjustments
From bug 22435 - we need to use 'CREATE' as the account_offset type
From bug 31095 - we need to 'use Koha::Patrons;'

To test:
1 - Add a fine to a patron account
2 - perl misc/cronjobs/writeoff_debts.pl -v -c --added-after 2025-01-01
3 - Cronjob dies
4 - Apply patch
5 - Rerun
6 - Job succeeds!
7 - Confirm patron's fine is written off
8 - Sign off

Signed-off-by: Magnus Enger <magnus@libriotech.no>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 93e2a0953d)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
2025-03-23 15:04:09 +01:00
..
Attribute
…
MessagePreference Bug 17499: (follow-up) Rename to Koha::Patron::MessagePreference 2023-09-12 10:16:11 -03:00
Password Bug 34731: (follow-up) Fix conditional variable declaration 2023-09-12 09:45:00 -03:00
Restriction Bug 31095: Remove keyed_on_code 2023-01-31 10:19:37 -03:00
Attribute.pm Bug 35508: Don't update patron attributes if new list of attributes matches list of existing attributes 2024-10-18 17:44:18 +02:00
Attributes.pm
…
Categories.pm
…
Category.pm Bug 33462: Add ability to force password change for new patrons entered by staff 2024-10-31 13:23:39 +01:00
Consent.pm
…
Consents.pm Bug 31503: (follow-up) Use KohaPlugins.feature_enabled 2023-10-25 10:35:23 -03:00
Debarments.pm Bug 39236: writeoff_debts.pl needs adjustments 2025-03-23 15:04:09 +01:00
Discharge.pm Bug 14251: Allow use of CSS in discharge letter 2023-03-27 11:53:16 +02:00
Files.pm
…
HouseboundProfile.pm Bug 29847: Make Koha::Patron::HouseboundProfile->housebound_visits return a resultset 2022-02-09 15:36:23 -10:00
HouseboundProfiles.pm
…
HouseboundRole.pm
…
HouseboundRoles.pm
…
HouseboundVisit.pm
…
HouseboundVisits.pm
…
Image.pm
…
Images.pm
…
Message.pm Bug 21699: Allow circulation messages to be editable 2023-05-05 10:18:55 -03:00
MessagePreference.pm Bug 17499: (follow-up) Rename to Koha::Patron::MessagePreference 2023-09-12 10:16:11 -03:00
MessagePreferences.pm Bug 17499: (follow-up) Rename to Koha::Patron::MessagePreference 2023-09-12 10:16:11 -03:00
Messages.pm Bug 12029: Remove 'params' from filter_by_unread 2023-04-20 15:48:47 -03:00
Modification.pm Bug 28633: Add preferred name field to patrons 2024-11-11 14:12:09 +01:00
Modifications.pm
…
Relationship.pm Bug 33671: Update POD, remove unneeded check in relationship->guarantor 2023-05-10 14:19:24 -03:00
Relationships.pm
…
Restriction.pm Bug 26053: Distinguish expired patron restrictions 2023-10-10 09:58:55 -03:00
Restrictions.pm Bug 31095: (QA follow-up) Fix POD 2023-01-31 10:19:42 -03:00