2 Template for printing a list of items that a patron has checked out.
5 * patron - has several fields from the patron object, including a financial summary
11 * pref_ versions of all name fields (e.g. pref_family_name);
13 * money_summary.balance_owed - current balance
14 * money_summary.total_paid - payments made on outstanding fines/fees
15 * money_summary.total_owed - total of outstanding fines/fees
17 * alias - aka Holds Alias
18 * has_email - boolean value to show/hide elements on the receipt
19 * has_phone - same as has_email
20 * juvenile - boolean value (t/f) to show/hide elements on the receipt
22 * circulations - list of current loans, including for each checkout
26 * checkout.circ.due_date
27 * checkout.circ.renewal_remaining
28 * checkout.copy.barcode
29 * checkout.copy.circ_modifier.name
30 * checkout.copy.call_number.label
31 * checkout.copy.call_number.owning_lib.name
32 * checkout.copy.call_number.owning_lib.shortname
33 * checkout.copy.location.name - Shelving location
37 <div>[% l('Welcome to [_1]', '{{current_location.name}}') %]</div>
38 <div>[% l('You have the following items:') %]</div>
41 <li ng-repeat="checkout in circulations">
42 <div>{{checkout.title}}</div>
43 <div>[% l('Barcode: [_1] Due: [_2]',
44 '{{checkout.copy.barcode}}',
45 '{{checkout.circ.due_date | egDueDate:$root.egDateAndTimeFormat:checkout.circ.circ_lib:checkout.circ.duration}}') %]</div>
49 <div>{{current_location.shortname}} {{today | date:$root.egDateAndTimeFormat}}</div>
50 <div>[% l('You were helped by [_1]', '{{staff.first_given_name}}') %]</div>