]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/templates/staff/circ/patron/t_bill_history_payments.tt2
LP1869898 Make Angular staff catalog default
[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     dateformat="{{$root.egDateAndTimeFormat}}"
9     persist-key="circ.patron.billhistory_payments">
10     <eg-grid-action 
11       label="[% l('Full Details') %]" handler="showFullDetails"></eg-grid-action>
12
13     <eg-grid-field path="amount" label="[% l('Amount') %]"></eg-grid-field>
14     <eg-grid-field path="id" label="[% l('Payment ID') %]" required></eg-grid-field>
15     <eg-grid-field path="payment_ts" label="[% l('Payment Time') %]" datatype="timestamp"></eg-grid-field>
16     <eg-grid-field path="note" label="[% l('Note') %]"></eg-grid-field>
17     <eg-grid-field path="voided" label="[% l('Voided') %]"></eg-grid-field>
18     <eg-grid-field path="xact.summary.xact_type" label="[% l('Transaction Type') %]"></eg-grid-field>
19     <eg-grid-field path="xact.summary.last_billing_type" label="[% l('Last Billing Type') %]"></eg-grid-field>
20
21     <eg-grid-field path="payment_type" label="Payment Type"></eg-grid-field>
22     <eg-grid-field label="[% l('Title') %]" name="title" 
23       path="xact.circulation.target_copy.call_number.record.simple_record.title">
24       <a href="/eg2/staff/catalog/record/{{item.record_id}}">{{item.title}}</a>
25     </eg-grid-field>
26
27     <!-- needed for bib link -->
28     <eg-grid-field name="record_id" 
29       path="xact.circulation.target_copy.call_number.record.id" 
30       required hidden></eg-grid-field>
31
32     <eg-grid-field label="[% l('Barcode') %]" name="copy_barcode" 
33       path="xact.circulation.target_copy.barcode">
34       <a target="_self" href="./cat/item/{{item.copy_id}}">{{item.copy_barcode}}</a>
35     </eg-grid-field>
36
37     <!-- needed for item link -->
38     <eg-grid-field name="copy_id" 
39       path="xact.circulation.target_copy.id" required hidden></eg-grid-field>
40     <eg-grid-field path="xact.circulation.target_copy.circ_lib.shortname" name="owning_lib" label="[% l('Item Owning Library') %]"></eg-grid-field>
41     <eg-grid-field path="xact.circulation.circ_lib.shortname" name="circ_lib" label="[% l('Checkout or Renewal Library') %]" hidden></eg-grid-field>
42     <eg-grid-field path="xact.circulation.due_date" label="[% l('Due Date') %]" datefilter="egDueDate" hidden></eg-grid-field>
43     <eg-grid-field path="xact.circulation.stop_fines" label="[% l('Fine Stop Reason') %]" hidden></eg-grid-field>
44     <!-- ... -->
45
46     <eg-grid-field path="xact.id" required hidden></eg-grid-field>
47     <eg-grid-field path="xact.usr" required hidden></eg-grid-field>
48     <eg-grid-field path="xact.*" hidden></eg-grid-field>
49     <eg-grid-field path="xact.summary.*" hidden></eg-grid-field>
50
51     <!--
52     <eg-grid-field path="xact.summary.balance_owed"></eg-grid-field>
53     <eg-grid-field path="xact.xact_finish" label="[% l('Finish') %]"></eg-grid-field>
54     <eg-grid-field path="xact.xact_start" label="[% l('Start') %]"></eg-grid-field>
55     <eg-grid-field path="xact.summary.total_owed" label="[% l('Total Billed') %]"></eg-grid-field>
56     <eg-grid-field path="xact.summary.total_paid" label="[% l('Total Paid') %]"></eg-grid-field>
57     <eg-grid-field path="xact.summary.xact_type" label="[% l('Type') %]"></eg-grid-field>
58
59     <eg-grid-field label="[% l('Title') %]" name="title" 
60       path="circulation.target_copy.call_number.record.simple_record.title">
61       <a href="[% ctx.base_path %]/opac/record/{{item.record_id}}">{{item.title}}</a>
62     </eg-grid-field>
63
64     <eg-grid-field name="record_id" 
65       path="circulation.target_copy.call_number.record.id" 
66       required hidden></eg-grid-field>
67
68     <eg-grid-field label="[% l('Barcode') %]" name="copy_barcode" 
69       path="circulation.target_copy.barcode">
70       <a target="_self" href="./cat/item/{{item.copy_id}}">{{item.copy_barcode}}</a>
71     </eg-grid-field>
72
73     <eg-grid-field name="copy_id" 
74       path="circulation.target_copy.id" required hidden></eg-grid-field>
75
76     <eg-grid-field path="summary.last_payment_ts" required hidden></eg-grid-field>
77
78     <eg-grid-field path="summary.*" hidden></eg-grid-field>
79     <eg-grid-field path="circulation.target_copy.*" hidden></eg-grid-field>
80     <eg-grid-field path="circulation.target_copy.call_number.*" hidden></eg-grid-field>
81     -->
82   </eg-grid>
83 </div>
84