]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/templates/staff/circ/patron/t_bill_history_payments.tt2
LP#1350042 Browser client templates/scripts (phase 1)
[working/Evergreen.git] / Open-ILS / src / templates / staff / circ / patron / t_bill_history_payments.tt2
1
2 <div ng-if="bill_tab == 'payments'" ng-controller="BillPaymentHistoryCtrl">
3
4   <eg-grid
5     idl-class="mp"
6     id-field="id"
7     grid-controls="gridControls">
8
9     <eg-grid-action 
10       label="[% l('Full Details') %]" handler="showFullDetails"></eg-grid-action>
11
12     <eg-grid-field path="amount" label="[% l('Amount') %]"></eg-grid-field>
13     <eg-grid-field path="id" label="[% l('Payment ID') %]"></eg-grid-field>
14     <eg-grid-field path="payment_ts" label="[% l('Payment Time') %]"></eg-grid-field>
15     <eg-grid-field path="note" label="[% l('Note') %]"></eg-grid-field>
16     <eg-grid-field path="voided" label="[% l('Voided') %]"></eg-grid-field>
17     <eg-grid-field path="xact.summary.xact_type" label="[% l('Transaction Type') %]"></eg-grid-field>
18     <eg-grid-field path="xact.summary.last_billing_type" label="[% l('Last Billing Type') %]"></eg-grid-field>
19
20     <eg-grid-field label="[% l('Title') %]" name="title" 
21       path="xact.circulation.target_copy.call_number.record.simple_record.title">
22       <a target="_self" href="[% ctx.base_path %]/staff/cat/catalog/record/{{item.record_id}}">{{item.title}}</a>
23     </eg-grid-field>
24
25     <!-- needed for bib link -->
26     <eg-grid-field name="record_id" 
27       path="xact.circulation.target_copy.call_number.record.id" 
28       required hidden></eg-grid-field>
29
30     <eg-grid-field label="[% l('Barcode') %]" name="copy_barcode" 
31       path="xact.circulation.target_copy.barcode">
32       <a target="_self" href="./cat/item/{{item.copy_id}}">{{item.copy_barcode}}</a>
33     </eg-grid-field>
34
35     <!-- needed for item link -->
36     <eg-grid-field name="copy_id" 
37       path="xact.circulation.target_copy.id" required hidden></eg-grid-field>
38
39     <!-- ... -->
40
41     <eg-grid-field path="xact.id" required hidden></eg-grid-field>
42     <eg-grid-field path="xact.usr" required hidden></eg-grid-field>
43     <eg-grid-field path="xact.*" hidden></eg-grid-field>
44     <eg-grid-field path="xact.summary.*" hidden></eg-grid-field>
45
46     <!--
47     <eg-grid-field path="xact.summary.balance_owed"></eg-grid-field>
48     <eg-grid-field path="xact.xact_finish" label="[% l('Finish') %]"></eg-grid-field>
49     <eg-grid-field path="xact.xact_start" label="[% l('Start') %]"></eg-grid-field>
50     <eg-grid-field path="xact.summary.total_owed" label="[% l('Total Billed') %]"></eg-grid-field>
51     <eg-grid-field path="xact.summary.total_paid" label="[% l('Total Paid') %]"></eg-grid-field>
52     <eg-grid-field path="xact.summary.xact_type" label="[% l('Type') %]"></eg-grid-field>
53
54     <eg-grid-field label="[% l('Title') %]" name="title" 
55       path="circulation.target_copy.call_number.record.simple_record.title">
56       <a href="[% ctx.base_path %]/opac/record/{{item.record_id}}">{{item.title}}</a>
57     </eg-grid-field>
58
59     <eg-grid-field name="record_id" 
60       path="circulation.target_copy.call_number.record.id" 
61       required hidden></eg-grid-field>
62
63     <eg-grid-field label="[% l('Barcode') %]" name="copy_barcode" 
64       path="circulation.target_copy.barcode">
65       <a target="_self" href="./cat/item/{{item.copy_id}}">{{item.copy_barcode}}</a>
66     </eg-grid-field>
67
68     <eg-grid-field name="copy_id" 
69       path="circulation.target_copy.id" required hidden></eg-grid-field>
70
71     <eg-grid-field path="summary.last_payment_ts" required hidden></eg-grid-field>
72
73     <eg-grid-field path="summary.*" hidden></eg-grid-field>
74     <eg-grid-field path="circulation.target_copy.*" hidden></eg-grid-field>
75     <eg-grid-field path="circulation.target_copy.call_number.*" hidden></eg-grid-field>
76     -->
77   </eg-grid>
78 </div>
79