adding some example templates. need to add locale blocks and do some more pre-run...
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 7 Aug 2008 02:30:47 +0000 (02:30 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 7 Aug 2008 02:30:47 +0000 (02:30 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@10285 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/examples/templates/overdue_7day.example [new file with mode: 0644]
Open-ILS/examples/templates/predue_1day.example [new file with mode: 0644]

diff --git a/Open-ILS/examples/templates/overdue_7day.example b/Open-ILS/examples/templates/overdue_7day.example
new file mode 100644 (file)
index 0000000..14f3eed
--- /dev/null
@@ -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 %]
diff --git a/Open-ILS/examples/templates/predue_1day.example b/Open-ILS/examples/templates/predue_1day.example
new file mode 100644 (file)
index 0000000..57accf4
--- /dev/null
@@ -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 %]