From 4aa3f8a5321e627eb5b37e99457d84482b893728 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Tue, 1 Oct 2024 19:15:21 +0100 Subject: [PATCH] Bug 36109: Convert sample ODUE notice to TT Content-Type: text/plain; charset=utf-8 This is an initial submission to convert the existing <<>> sample notice to TT. We could do more here, like including the due date and making the fines display more clearly optional. Signed-off-by: Caroline Cyr La Rose Signed-off-by: Marcel de Rooy --- .../mysql/en/mandatory/sample_notices.yml | 30 +++++++++++-------- 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/installer/data/mysql/en/mandatory/sample_notices.yml b/installer/data/mysql/en/mandatory/sample_notices.yml index 30e888c4c7..e6f9d76e53 100644 --- a/installer/data/mysql/en/mandatory/sample_notices.yml +++ b/installer/data/mysql/en/mandatory/sample_notices.yml @@ -880,26 +880,32 @@ tables: message_transport_type: email lang: default content: - - "Dear <> <>," + - "[%- USE Price -%]" + - "Dear [% borrower.firstname %] [% borrower.surname %]," - "" - - "According to our current records, you have items that are overdue.Your library does not charge late fines, but please return or renew them at the branch below as soon as possible." + - "According to our current records, you have items that are overdue." + - "Please return or renew them at the branch below as soon as possible." - "" - - "<>" - - "<>" - - "<> <>" - - "Phone: <>" - - "Fax: <>" - - "Email: <>" + - "[% branch.branchname %]" + - "[% branch.branchaddress1 %]" + - "[% branch.branchaddress2 %] [% branch.branchaddress3 %]" + - "Phone: [% branch.branchphone %]" + - "Fax: [% branch.branchfax %]" + - "Email: [% branch.branchemail %]" - "" - - "If you have registered a password with the library, and you have a renewal available, you may renew online. If an item becomes more than 30 days overdue, you will be unable to use your library card until the item is returned." + - "If you have registered a password with the library, and you have a renewal available, you may renew online." + - "If an item becomes more than 30 days overdue, you will be unable to use your library card until the item is returned." - "" - - "The following item(s) is/are currently overdue:" + - "The following [% IF overdues.count > 1 %]items are[% ELSE %]item is[% END %] currently overdue:" - "" - - "\"<>\" by <>, <>, Barcode: <> Fine: <>" + - "[% FOREACH overdue IN overdues %]" + - "[%- SET item = overdue.item -%]" + - "\"[% item.biblio.title %]\" by [% item.biblio.author %], [% item.itemcallnumber %], Barcode: [% item.barcode %], Fine: [% overdue.overdue_fines.total_outstanding | $Price %]" + - "[% END %]" - "" - "Thank-you for your prompt attention to this matter." - "" - - "<> Staff" + - "[% branch.branchname %] Staff" - "" - module: circulation -- 2.39.5