6b0279dc25941c6b061f38130970ea5e049fe194
[working/Evergreen.git] / Open-ILS / src / templates / staff / share / print_templates / t_bills_historical.tt2
1 <!--
2 Template for printing a list of past bills. Data specific
3 to this template includes:
4
5 * transasctions - a list of transactions, each of which
6   contains:
7
8   xact.summary - information about the transaction
9   xact.title - Copy title
10   xact.copy_barcode - Copy barcode
11
12 -->
13 Welcome to {{current_location.name}}!<br/>
14 You had the following bills:
15 <hr/>
16 <dl>
17   <div ng-repeat="xact in transactions">
18     <dt><b>Bill #{{xact.id}}</b></dt>
19     <dd>
20     <table> 
21       <tr valign="top">
22         <td>[% l('Date:') %]</td>
23         <td>{{xact.xact_start | date:$root.egDateAndTimeFormat}}</td>
24       </tr> 
25       <tr valign="top">
26         <td>[% l('Type') %]:</td>
27         <td>{{xact.summary.xact_type}}</td>
28       </tr> 
29       <tr valign="top">
30         <td>[% l('Last Billing') %]:</td>
31         <td>{{xact.summary.last_billing_type}}<br/>
32             {{xact.summary.last_billing_note}}
33         </td>
34       </tr> 
35       <tr valign="top">
36         <td>[% l('Total Billed') %]:</td>
37         <td>{{xact.summary.total_owed | currency}}</td>
38       </tr> 
39       <tr valign="top">
40         <td>[% l('Last Payment') %]:</td>
41         <td>{{xact.summary.last_payment_type}}<br/>
42             {{xact.summary.last_payment_note}}
43         </td>
44       </tr> 
45       <tr valign="top">
46         <td>[% l('Total Paid') %]:</td>
47         <td>{{xact.summary.total_paid | currency}}</td>
48       </tr> 
49       <tr valign="top">
50         <td><b>[% l('Balance') %]:</b></td>
51         <td><b>{{xact.summary.balance_owed | currency}}</b></td>
52       </tr> 
53     </table>
54     </dd>
55     <br/>
56   </div><!-- ng-repeat -->
57 </dl>
58 <hr/>
59 {{current_location.shortname}} {{today | date:$root.egDateAndTimeFormat}}
60 <br/><br/>
61