From edb576e2948133dbf2f2b8047e3aca39cd83d2c1 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 --- 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