From 071bb3e1f4581678d984f377826e9ea703a7e613 Mon Sep 17 00:00:00 2001 From: dbs Date: Mon, 14 Mar 2011 20:37:57 +0000 Subject: [PATCH] Address #610 - use the name of the circ_lib for the target_copy, not where the circ happened Notifications were confusing people because online renewals set circ.circ_lib to the user's home_ou, and they were being told to return the item to the wrong library (or interpreting the message as such). git-svn-id: svn://svn.open-ils.org/ILS-Contrib/conifer/branches/rel_1_6_1@1263 6d9bc8c9-1ec2-4278-b937-99fde70a366f --- tools/email_notices_french.sql | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/email_notices_french.sql b/tools/email_notices_french.sql index 5d2751c73f..0123a7e2b6 100644 --- a/tools/email_notices_french.sql +++ b/tools/email_notices_french.sql @@ -38,7 +38,7 @@ Nos dossiers indiquent que la date de remise de ces articles est demain : Cote : [% circ.target_copy.call_number.label %] Date d’échéance : [% date.format(helpers.format_date(circ.due_date), '%Y-%m-%d') %] Code à barres : [% circ.target_copy.barcode %] - Bibliothèque : [% circ.circ_lib.name %] + Bibliothèque : [% circ.target_copy.circ_lib.name %] [% END -%] Veuillez renouveler le prêt ou retourner ces articles d’ici demain @@ -53,7 +53,7 @@ Our records indicate the following items will be due shortly: Title: [% circ.target_copy.call_number.record.simple_record.title %] Barcode: [% circ.target_copy.barcode %] Due: [% date.format(helpers.format_date(circ.due_date), '%Y-%m-%d') %] - Library: [% circ.circ_lib.name %] + Library: [% circ.target_copy.circ_lib.name %] [% END %] [% END -%] $$ WHERE id = 106; @@ -82,7 +82,7 @@ Nos dossiers indiquent que ces articles auraient dû être retournés : Date d’échéance : [% date.format(helpers.format_date(circ.due_date), '%Y-%m-%d') %] Code à barres : [% circ.target_copy.barcode %] Total des amendes : [% circ.billable_transaction.summary.total_owed %] - Bibliothèque : [% circ.circ_lib.name %] [% IF circ.circ_lib.shortname == 'SJCG' %]/ [% circ.target_copy.location.name %] [% END %] + Bibliothèque : [% circ.target_copy.circ_lib.name %] [% IF circ.circ_lib.shortname == 'SJCG' %]/ [% circ.target_copy.location.name %] [% END %] [% END -%] Veuillez les retourner dès que possible afin d’éviter des amendes @@ -103,7 +103,7 @@ Our records indicate the following items are overdue. Item Cost: [% helpers.get_copy_price(circ.target_copy) %] Total Owed For Transaction: [% circ.billable_transaction.summary.total_owed %] [% END -%] - Library: [% circ.circ_lib.name %] [% IF circ.circ_lib.shortname == 'SJCG' %]/ [% circ.target_copy.location.name %] [% END %] + Library: [% circ.target_copy.circ_lib.name %] [% IF circ.circ_lib.shortname == 'SJCG' %]/ [% circ.target_copy.location.name %] [% END %] [% END %] [% END %] -- 2.11.0