2 Template for printing a list of current bills. Data specific
3 to this template includes:
5 * today - Today's date and time
6 * current_location - the current library
7 current_location.name - Current location's name
8 current_location.shortname - Current location's shortname
9 * patron - the patron who was billed, which contains:
10 patron.prefix - Prefix of the patron
11 patron.first_given_name - First given name of the patron
12 patron.second_given_name - Second given name of the patron
13 patron.family_name - Family name of the patron
14 patron.suffix - Suffix of the patron
15 patron.card - The patron's barcode number
16 patron.expire_date - The patron's expiration date
17 patron.alias - The patron's alias
18 patron.has_email - Whether or not the patron has an email address
19 patron.has_phone - Whether or not the patron has a phone number
20 * transasctions - a list of transactions, each of which
22 xact.summary - information about the transaction
23 xact.title - Copy title
24 xact.copy_barcode - Copy barcode
26 Welcome to {{current_location.name}}!<br/>
27 You have the following bills:
30 <div ng-repeat="xact in transactions">
31 <dt><b>Bill #{{xact.id}}</b></dt>
35 <td>[% l('Date:') %]</td>
36 <td>{{xact.xact_start | date:$root.egDateAndTimeFormat}}</td>
39 <td>[% l('Type') %]:</td>
40 <td>{{xact.summary.xact_type}}</td>
43 <td>[% l('Last Billing') %]:</td>
44 <td>{{xact.summary.last_billing_type}}<br/>
45 {{xact.summary.last_billing_note}}
49 <td>[% l('Total Billed') %]:</td>
50 <td>{{xact.summary.total_owed | currency}}</td>
53 <td>[% l('Last Payment') %]:</td>
54 <td>{{xact.summary.last_payment_type}}<br/>
55 {{xact.summary.last_payment_note}}
59 <td>[% l('Total Paid') %]:</td>
60 <td>{{xact.summary.total_paid | currency}}</td>
63 <td><b>[% l('Balance') %]:</b></td>
64 <td><b>{{xact.summary.balance_owed | currency}}</b></td>
69 </div><!-- ng-repeat -->
72 {{current_location.shortname}} {{today | date:$root.egDateAndTimeFormat}}