]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/templates/staff/circ/checkin/t_checkin_table.tt2
LP#1685929-Adds more XUL parity to Webstaff checkIn
[Evergreen.git] / Open-ILS / src / templates / staff / circ / checkin / t_checkin_table.tt2
1 <!-- checkins list -->
2
3 <eg-grid
4   id-field="index"
5   features="clientsort"
6   main-label="[% l('Items Checked In') %]"
7   items-provider="gridDataProvider"
8   grid-controls="gridControls"
9   persist-key="{{grid_persist_key}}"
10   dateformat="{{$root.egDateAndTimeFormat}}">
11   
12   <eg-grid-action handler="add_copies_to_bucket" label="[% l('Add Items to Bucket') %]">
13   </eg-grid-action>
14   <eg-grid-action 
15     handler="fetchLastCircPatron"
16     label="[% l('Retrieve Last Patron Who Circulated Item') %]">
17   </eg-grid-action>
18   <eg-grid-action 
19     handler="showBackdateDialog"
20     label="[% l('Backdate Post-Checkin') %]">
21   </eg-grid-action>
22   <eg-grid-action
23     group="[% l('Show')"
24     handler="showMarkDamaged"
25     label="[% l('Mark Items Damaged') %]">
26   </eg-grid-action>
27   <eg-grid-action
28     group="[% l('Show')"
29     handler="show_mark_missing_pieces"
30     label="[% l('Mark Missing Pieces') %]">
31   </eg-grid-action>
32   <eg-grid-action 
33     handler="abortTransit"
34     label="[% l('Cancel Transits') %]">
35   </eg-grid-action>
36   <!-- Show Group -->
37   <eg-grid-action handler="showBibHolds" group="[% l('Show') %]"
38     label="[% l('Record Holds') %]">
39   </eg-grid-action>
40   <eg-grid-action handler="showLastCircs" group="[% l('Show') %]"
41     label="[% l('Last Few Circs') %]">
42   </eg-grid-action>
43
44   <!-- Edit Group -->
45   <eg-grid-action handler="selectedHoldingsVolCopyEdit" group="[% l('Edit') %]"
46     label="[% l('Volumes and Items') %]">
47   </eg-grid-action>
48
49   <eg-grid-action handler="printSpineLabels" group="[% l('Print') %]"
50     label="[% l('Spine Labels') %]">
51   </eg-grid-action>
52   <eg-grid-field label="[% l('Alert Msg') %]"   
53     path="acp.alert_message"></eg-grid-field>
54
55   <eg-grid-field label="[% l('Balance Owed') %]"     
56     path='mbts.balance_owed' comparator="sort_money"></eg-grid-field>
57
58   <eg-grid-field label="[% l('Barcode') %]" path="copy_barcode">
59     <!-- FIXME: ng-if / ng-disabled not working since the contents 
60         are $interpolate'd and not $compile'd.
61         I want to hide / disable the href when there is no acp ID 
62     -->
63     <a href="./cat/item/{{item.acp.id()}}/summary" target="_self">
64       {{item.copy_barcode}}
65     </a>
66   </eg-grid-field>
67
68   <eg-grid-field label="[% l('Bill #') %]"     
69     path='circ.id'></eg-grid-field>
70
71   <eg-grid-field label="[% l('Checkin Date') %]"    
72     path='circ.checkin_time' datatype="timestamp"></eg-grid-field>
73
74   <eg-grid-field label="[% l('Family Name') %]"    
75     path='au.family_name'></eg-grid-field>
76
77   <eg-grid-field label="[% l('Finish') %]"    
78     path='circ.stop_fines_time' datatype="timestamp"></eg-grid-field>
79
80   <eg-grid-field label="[% l('Location') %]"    
81     path='acp.location.name'></eg-grid-field>
82
83   <eg-grid-field label="[% l('Route To') %]" path='route_to'>
84   </eg-grid-field>
85
86   <eg-grid-field label="[% l('Start') %]"    
87     path='circ.xact_start'></eg-grid-field>
88
89   <eg-grid-field label="[% l('Title') %]" path="title">
90     <a target="_self" href="[% ctx.base_path %]/staff/cat/catalog/record/{{item.record.doc_id()}}">
91       {{item.title}}
92     </a>
93   </eg-grid-field>
94
95   <eg-grid-field label="[% l('Due Date') %]"    
96     path='circ.due_date' dateonlyinterval="duration" datecontext="circ_lib" datatype="timestamp" hidden></eg-grid-field>
97
98   <eg-grid-field label="[% l('Author') %]"      
99     path="author" hidden></eg-grid-field>
100
101   <eg-grid-field label="[% l('Call Number') %]" 
102     path="acn.label" hidden></eg-grid-field>
103
104   <eg-grid-field path="acp.circ_modifier.name" label="[% l('Circulation Modifier') %]"></eg-grid-field>
105   <eg-grid-field path="acp.circ_lib.shortname" label="[% l('Circulation Library') %]"></eg-grid-field>
106   <eg-grid-field path="circ.*" parent-idl-class="circ" hidden></eg-grid-field>
107   <eg-grid-field path="acp.*" parent-idl-class="acp" hidden></eg-grid-field>
108   <eg-grid-field path="acn.*" parent-idl-class="acn" hidden></eg-grid-field>
109   <eg-grid-field path="record.*" parent-idl-class="mvr" hidden></eg-grid-field>
110   <eg-grid-field path="mbts.*" parent-idl-class="mbts" hidden></eg-grid-field>
111   <eg-grid-field path="au.*" parent-idl-class="au" hidden></eg-grid-field>
112   <eg-grid-field path="transit.*" parent-idl-class="atc" hidden></eg-grid-field>
113   <eg-grid-field path="hold.*" parent-idl-class="ahr" hidden></eg-grid-field>
114 </eg-grid>
115