From 4bbe73d1c78b1804cadd1732eb5644b3dbeb29ac 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 Signed-off-by: Lucas Gass --- 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 8685d85112c..6af6bfb867d 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