[open-ils-commits] r10285 - in trunk/Open-ILS/examples: . templates
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Aug 6 22:30:53 EDT 2008
Author: erickson
Date: 2008-08-06 22:30:47 -0400 (Wed, 06 Aug 2008)
New Revision: 10285
Added:
trunk/Open-ILS/examples/templates/
trunk/Open-ILS/examples/templates/overdue_7day.example
trunk/Open-ILS/examples/templates/predue_1day.example
Log:
adding some example templates. need to add locale blocks and do some more pre-run data munging
Added: trunk/Open-ILS/examples/templates/overdue_7day.example
===================================================================
--- trunk/Open-ILS/examples/templates/overdue_7day.example (rev 0)
+++ trunk/Open-ILS/examples/templates/overdue_7day.example 2008-08-07 02:30:47 UTC (rev 10285)
@@ -0,0 +1,28 @@
+[% SET user = circ_list.0.usr %]
+[% SET lib = circ_list.0.circ_lib %]
+To: [% user.email %]
+From: [% smtp_sender %]
+Reply-To: [% smtp_reply %]
+Subject: Overdue Notification
+
+Dear [% user.first_given_name %] [% user.family_name %]
+
+Our records indicate these items are 7 days overdue:
+
+[% FOREACH circ = circ_list %]
+Due Date: [% circ.due_date %]
+Barcode: [% circ.target_copy.barcode %]
+[% END %]
+
+
+Please return the above items to avoid additional fines. Please do not
+respond to this email.
+
+Contact your library for more information:
+
+[% lib.name %]
+[% lib.mailing_address.street1 %]
+[% lib.mailing_address.street2 %]
+[% lib.mailing_address.city %], [% lib.mailing_address.state %]
+[% lib.mailing_address.post_code %]
+[% lib.phone %]
Added: trunk/Open-ILS/examples/templates/predue_1day.example
===================================================================
--- trunk/Open-ILS/examples/templates/predue_1day.example (rev 0)
+++ trunk/Open-ILS/examples/templates/predue_1day.example 2008-08-07 02:30:47 UTC (rev 10285)
@@ -0,0 +1,28 @@
+[% SET user = circ_list.0.usr %]
+[% SET lib = circ_list.0.circ_lib %]
+To: [% user.email %]
+From: [% smtp_sender %]
+Reply-To: [% smtp_reply %]
+Subject: Courtesy Notice
+
+Dear [% user.first_given_name %] [% user.family_name %]
+
+Our records indicate these items are due tomorrow:
+
+[% FOREACH circ = circ_list %]
+Due Date: [% circ.due_date %]
+Barcode: [% circ.target_copy.barcode %]
+[% END %]
+
+
+Please return the above items by tomorrow to avoid additional fines. Please do not
+respond to this email.
+
+Contact your library for more information:
+
+[% lib.name %]
+[% lib.mailing_address.street1 %]
+[% lib.mailing_address.street2 %]
+[% lib.mailing_address.city %], [% lib.mailing_address.state %]
+[% lib.mailing_address.post_code %]
+[% lib.phone %]
More information about the open-ils-commits
mailing list