]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 22 Jul 2024 10:03:56 +0000 (12:03 +0200)
commit973c1558a565fbcb30a31df6b4fe1455fc44acd5
treef9907229484eeb1a59b188bc519158373a09ef5d
parent1af964aabafe43394cff94cb2011272c80e7a777
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>
(cherry picked from commit 05432982cf8a407872fd643206a14550c0d0a53a)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 51ae7f9b3b315ab51c071e1eb8d2997c929a5c48)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
installer/data/mysql/en/mandatory/sample_notices.yml