From 511fed86744c12378cd0a29ae34c9ed802be3a58 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 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 --- .../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 e054a5a0fa..a19b1e07b1 100644 --- a/installer/data/mysql/en/mandatory/sample_notices.yml +++ b/installer/data/mysql/en/mandatory/sample_notices.yml @@ -879,26 +879,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.34.1