]> git.koha-community.org Git - koha.git/commit
Bug 36741: Skip auto_too_soon issues in auto renew digest
authorDavid Cook <dcook@prosentient.com.au>
Thu, 23 May 2024 00:47:08 +0000 (00:47 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 28 Jun 2024 11:49:20 +0000 (13:49 +0200)
commit05432982cf8a407872fd643206a14550c0d0a53a
treed3e25d6cf93b2fb5c63ab5407911c7d6c0ffe796
parent5f156ad3dff5db21a3d87eecf3207661ce6961f4
Bug 36741: Skip auto_too_soon issues in auto renew digest

This change adds a line to skip auto_too_soon issues/checkouts
in the auto renew digest template.

Since auto_too_soon do not trigger notifications and don't require
any special action, let's skip them in the breakdown of checkouts in
the AUTO_RENEWALS_DGST email.

Test plan:
0. Apply the patch
1. reset_all (in koha-testing-docker)
2. Note the following line in the AUTO_RENEWALS_DGST template:
[% NEXT IF (checkout.auto_renew_error == 'auto_too_soon') %]

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
installer/data/mysql/en/mandatory/sample_notices.yml