]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/examples/templates/predue_1day.example
Update version of release notes in 2.5 docs
[working/Evergreen.git] / Open-ILS / examples / templates / predue_1day.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: Courtesy Notice
9
10 Dear [% user.first_given_name %] [% user.family_name %],
11
12 Our records indicate these items are due tomorrow:
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 by tomorrow 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 [%- SET addr = lib.mailing_address -%]
29 [%- IF !addr -%] [%- SET addr = lib.billing_address -%] [%- END %]
30 [% lib.mailing_address.street1 %] [% lib.mailing_address.street2 %]
31 [% lib.mailing_address.city %], [% lib.mailing_address.state %]
32 [% lib.mailing_address.post_code %]
33 [% lib.phone %]