2 <div ng-if="bill_tab == 'transactions'" ng-controller="BillXactHistoryCtrl">
7 grid-controls="gridControls"
8 persist-key="circ.patron.billhistory_xacts"
9 dateformat="{{$root.egDateAndTimeFormat}}">
12 label="[% l('Add Billing') %]" handler="addBilling"></eg-grid-action>
14 label="[% l('Full Details') %]" handler="showFullDetails"></eg-grid-action>
16 label="[% l('Print Bills') %]" handler="printBills"></eg-grid-action>
18 <eg-grid-field path="summary.balance_owed"></eg-grid-field>
19 <eg-grid-field path="id" label="[% l('Bill #') %]"></eg-grid-field>
20 <eg-grid-field path="xact_finish" label="[% l('Finish') %]" datatype="timestamp"></eg-grid-field>
21 <eg-grid-field path="xact_start" label="[% l('Start') %]" datatype="timestamp"></eg-grid-field>
22 <eg-grid-field path="summary.total_owed" label="[% l('Total Billed') %]"></eg-grid-field>
23 <eg-grid-field path="summary.total_paid" label="[% l('Total Paid') %]"></eg-grid-field>
24 <eg-grid-field path="summary.xact_type" label="[% l('Type') %]"></eg-grid-field>
26 <eg-grid-field label="[% l('Title') %]" name="title"
27 path="circulation.target_copy.call_number.record.simple_record.title">
28 <a target="_self" href="[% ctx.base_path %]/staff/cat/catalog/record/{{item.record_id}}">{{item.title}}</a>
31 <!-- needed for bib link -->
32 <eg-grid-field name="record_id"
33 path="circulation.target_copy.call_number.record.id"
34 required hidden></eg-grid-field>
36 <eg-grid-field label="[% l('Barcode') %]" name="copy_barcode"
37 path="circulation.target_copy.barcode">
38 <a target="_self" href="./cat/item/{{item.copy_id}}">{{item.copy_barcode}}</a>
41 <!-- needed for item link -->
42 <eg-grid-field name="copy_id"
43 path="circulation.target_copy.id" required hidden></eg-grid-field>
45 <!-- needed for grid query -->
46 <eg-grid-field path="summary.last_payment_ts" datatype="timestamp" required hidden></eg-grid-field>
48 <eg-grid-field path="summary.*" hidden></eg-grid-field>
49 <eg-grid-field path="circulation.target_copy.*" hidden></eg-grid-field>
50 <eg-grid-field path="circulation.target_copy.call_number.*" hidden></eg-grid-field>
51 <eg-grid-field path="circulation.target_copy.call_number.prefix.label" label="[% l('CN Prefix') %]" hidden></eg-grid-field>
52 <eg-grid-field path="circulation.target_copy.call_number.suffix.label" label="[% l('CN Suffix') %]" hidden></eg-grid-field>