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