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 05432982cf)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
46dc45e60c
commit
51ae7f9b3b
|
|
@ -2222,6 +2222,7 @@ tables:
|
|||
- "There were [% success %] items that were renewed."
|
||||
- "[% END %]"
|
||||
- "[% FOREACH checkout IN checkouts %]"
|
||||
- "[% NEXT IF (checkout.auto_renew_error == 'auto_too_soon') %]"
|
||||
- "[% checkout.item.biblio.title %] : [% checkout.item.barcode %]"
|
||||
- "[% IF !checkout.auto_renew_error %]"
|
||||
- "was renewed until [% checkout.date_due | $KohaDates as_due_date => 1%]"
|
||||
|
|
|
|||
Loading…
Reference in New Issue