From cc4479e432ed8effed16a2abad06b14bde96010b Mon Sep 17 00:00:00 2001 From: Marion Durand Date: Thu, 3 Apr 2025 14:29:52 +0000 Subject: [PATCH] Bug 36110: (follow-up) Adjust OVERDUES_SLIP to use Template Toolkit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Emmanuel Bétemps --- installer/data/mysql/en/mandatory/sample_notices.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/data/mysql/en/mandatory/sample_notices.yml b/installer/data/mysql/en/mandatory/sample_notices.yml index 8685d85112..6af6bfb867 100644 --- a/installer/data/mysql/en/mandatory/sample_notices.yml +++ b/installer/data/mysql/en/mandatory/sample_notices.yml @@ -918,7 +918,7 @@ tables: lang: default content: - "[%- USE Price -%]" - - "The following [% IF overdues > 1 %]items are[% ELSE %]item is[% END %] currently overdue:" + - "The following [% IF overdues.count() > 1 %]items are[% ELSE %]item is[% END %] currently overdue:" - "" - "[% FOREACH odue IN overdues %]" - "[% odue.item.biblio.title %]" -- 2.39.5