]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/templates/staff/share/print_templates/t_offline_checkout.tt2
LP1737540: Add Patron Information to Receipts
[working/Evergreen.git] / Open-ILS / src / templates / staff / share / print_templates / t_offline_checkout.tt2
1 <!--
2 Template for printing offline checkout receipts; fields available include:
3
4 * transactions - list of loans made during this session. Each
5   includes:
6
7   * barcode
8   * patron_barcode
9   * due_date
10
11 -->
12 <div>
13   <div>[% l('Patron [_1]', '{{transactions[0].patron_barcode}}') %]</div>
14   <div>[% l('You checked out the following [_1] items:', '{{transactions.length}}') %]</div>
15   <hr/>
16   <ol>
17     <li ng-repeat="checkout in transactions">
18       <div>[% l('Barcode: [_1] Due: [_2]', 
19         '{{checkout.barcode}}',
20         '{{checkout.due_date | date:"short"}}') %]</div>
21     </li>
22   </ol>
23   <hr/>
24   <div>{{today | date:'short'}}</div>
25 <br/>
26