2 [%- SET user = circ_list.0.usr -%]
3 [%- SET lib = circ_list.0.circ_lib -%]
5 From: [% smtp_sender %]
6 Reply-To: [% smtp_sender %]
7 Errors-To: [% smtp_sender %]
8 Subject: Courtesy Notice
10 Dear [% user.first_given_name %] [% user.family_name %],
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 %]
22 Please return the above items by tomorrow to avoid additional fines. Please do not
23 respond to this email.
25 Contact your library for more information:
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 %]