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