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
|
||
|---|---|---|
| .. | ||
| Attribute | ||
| MessagePreference | ||
| Password | ||
| Restriction | ||
| Attribute.pm | ||
| Attributes.pm | ||
| Categories.pm | ||
| Category.pm | ||
| Consent.pm | ||
| Consents.pm | ||
| Debarments.pm | ||
| Discharge.pm | ||
| Files.pm | ||
| HouseboundProfile.pm | ||
| HouseboundProfiles.pm | ||
| HouseboundRole.pm | ||
| HouseboundRoles.pm | ||
| HouseboundVisit.pm | ||
| HouseboundVisits.pm | ||
| Image.pm | ||
| Images.pm | ||
| Message.pm | ||
| MessagePreference.pm | ||
| MessagePreferences.pm | ||
| Messages.pm | ||
| Modification.pm | ||
| Modifications.pm | ||
| Relationship.pm | ||
| Relationships.pm | ||
| Restriction.pm | ||
| Restrictions.pm | ||