2 Template for printing a renewal receipt. Fields include:
4 * circulations - list of renewals made during the session, including
9 * renewal.circ.due_date
10 * renewal.circ.renewal_remaining
11 * renewal.circ.circ_lib
12 * renewal.circ.duration
13 * renewal.copy.barcode
14 * renewal.copy.circ_modifier
15 * renewal.copy.call_number.label
16 * renewal.copy.call_number.owning_lib.name
17 * renewal.copy.call_number.owning_lib.shortname
21 <div>[% l('Welcome to [_1]', '{{current_location.name}}') %]</div>
22 <div>[% l('You renewed the following items:') %]</div>
25 <li ng-repeat="renewal in circulations">
26 <div>{{renewal.title}}</div>
27 <div>[% l('Barcode: [_1] Due: [_2]',
28 '{{renewal.copy.barcode}}',
29 '{{renewal.circ.due_date | egDueDate:$root.egDateAndTimeFormat:renewal.circ.circ_lib:renewal.circ.duration}}') %]</div>
33 <div>{{current_location.shortname}} {{today | date:$root.egDateAndTimeFormat}}</div>
34 <div>[% l('You were helped by [_1]', '{{staff.first_given_name}}') %]</div>