]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/examples/templates/overdue_7day.example
b73e20b8bca617166f84974ff8206eb0f4f22f82
[Evergreen.git] / Open-ILS / examples / templates / overdue_7day.example
1 [%- USE date -%]
2 [%- SET user = circ_list.0.usr -%]
3 [%- SET lib = circ_list.0.circ_lib -%]
4 To: [% user.email %]
5 From: [% smtp_sender %]
6 Reply-To: [% smtp_reply %]
7 Subject: Overdue Notification
8
9
10 Dear [% user.first_given_name %] [% user.family_name %],
11
12 Our records indicate these items are 7 days overdue:
13 [% FOREACH circ = circ_list %]
14     [% get_bib_attr(circ, 'title') %], by [% get_bib_attr(circ, 'author') %] 
15     Call Number: [% circ.target_copy.call_number.label %]
16     [%- SET due_date = parse_due_date(circ) %]
17     Due Date: [% date.format(due_date, '%Y-%m-%d') %]
18     Barcode: [% circ.target_copy.barcode %]
19 [% END %]
20
21
22 Please return the above items to avoid additional fines.  Please do not
23 respond to this email.  
24
25 Contact your library for more information:
26
27 [% lib.name %]
28 [% lib.mailing_address.street1 %] [% lib.mailing_address.street2 %]
29 [% lib.mailing_address.city %], [% lib.mailing_address.state %]
30 [% lib.mailing_address.post_code %]
31 [% lib.phone %]