Bug 29557: Add auto_account_expired to AUTO_RENEWALS
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 23 Nov 2021 13:48:22 +0000 (14:48 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 11 Jan 2022 22:38:35 +0000 (12:38 -1000)
commit9c10d754431260150af8336a24ad7683c8fb3538
treea239180162010337bc20c55c442776508fef6a61
parentf004ad000d288b6288c4cf131e61ba569ac9fba6
Bug 29557: Add auto_account_expired to AUTO_RENEWALS

It was missing and the notice sent was not providing the reason of the
failure.

Test plan:
Check an item out with a date in the past, mark it as auto renew
Modify the expired date of the patron and set it in the past
Run the automatic_renewals.pl cronjob script, confirm that the notice
now contains the reason of the failure.

QA note: The template will be updated only for English installations.
Should we add an alert for others?

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
installer/data/mysql/atomicupdate/bug_29557.pl [new file with mode: 0755]
installer/data/mysql/en/mandatory/sample_notices.yml