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