8ff48530013b2e7eaa0ad15855f5d9c663acd343
[working/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     handler="showMarkDamaged"
24     label="[% l('Mark Items Damaged') %]">
25   </eg-grid-action>
26   <eg-grid-action
27     handler="show_mark_missing_pieces"
28     label="[% l('Mark Missing Pieces') %]">
29   </eg-grid-action>
30   <eg-grid-action 
31     handler="abortTransit"
32     label="[% l('Cancel Transits') %]">
33   </eg-grid-action>
34   <!-- Show Group -->
35   <eg-grid-action handler="showBibHolds" group="[% l('Show') %]"
36     label="[% l('Record Holds') %]">
37   </eg-grid-action>
38   <eg-grid-action handler="showLastCircs" group="[% l('Show') %]"
39     label="[% l('Last Few Circs') %]">
40   </eg-grid-action>
41
42   <!-- Edit Group -->
43   <eg-grid-action handler="selectedHoldingsVolCopyEdit" group="[% l('Edit') %]"
44     label="[% l('Volumes and Items') %]">
45   </eg-grid-action>
46
47   <eg-grid-action handler="printSpineLabels" group="[% l('Print') %]"
48     label="[% l('Spine Labels') %]">
49   </eg-grid-action>
50   <eg-grid-field label="[% l('Alert Msg') %]"   
51     path="acp.alert_message"></eg-grid-field>
52
53   <eg-grid-field label="[% l('Balance Owed') %]"     
54     path='mbts.balance_owed' comparator="sort_money"></eg-grid-field>
55
56   <eg-grid-field label="[% l('Barcode') %]" path="copy_barcode">
57     <!-- FIXME: ng-if / ng-disabled not working since the contents 
58         are $interpolate'd and not $compile'd.
59         I want to hide / disable the href when there is no acp ID 
60     -->
61     <a href="./cat/item/{{item.acp.id()}}/summary" target="_self">
62       {{item.copy_barcode}}
63     </a>
64   </eg-grid-field>
65
66   <eg-grid-field label="[% l('Bill #') %]"     
67     path='circ.id'></eg-grid-field>
68
69   <eg-grid-field label="[% l('Checkin Date') %]"    
70     path='circ.checkin_time' datatype="timestamp"></eg-grid-field>
71
72   <eg-grid-field label="[% l('Family Name') %]"    
73     path='au.family_name'></eg-grid-field>
74
75   <eg-grid-field label="[% l('Finish') %]"    
76     path='circ.stop_fines_time' datatype="timestamp"></eg-grid-field>
77
78   <eg-grid-field label="[% l('Location') %]"    
79     path='acp.location.name'></eg-grid-field>
80
81   <eg-grid-field label="[% l('Route To') %]" path='route_to'>
82   </eg-grid-field>
83
84   <eg-grid-field label="[% l('Start') %]"    
85     path='circ.xact_start'></eg-grid-field>
86
87   <eg-grid-field label="[% l('Title') %]" path="title">
88     <a target="_self" href="[% ctx.base_path %]/staff/cat/catalog/record/{{item.record.doc_id()}}">
89       {{item.title}}
90     </a>
91   </eg-grid-field>
92
93   <eg-grid-field label="[% l('Due Date') %]"    
94     path='circ.due_date' dateonlyinterval="duration" datecontext="circ_lib" datatype="timestamp" hidden></eg-grid-field>
95
96   <eg-grid-field label="[% l('Author') %]"      
97     path="author" hidden></eg-grid-field>
98
99   <eg-grid-field label="[% l('Call Number') %]" 
100     path="acn.label" hidden></eg-grid-field>
101
102   <eg-grid-field path="acp.circ_modifier.name" label="[% l('Circulation Modifier') %]"></eg-grid-field>
103   <eg-grid-field path="acp.circ_lib.shortname" label="[% l('Circulation Library') %]"></eg-grid-field>
104   <eg-grid-field path="circ.*" parent-idl-class="circ" hidden></eg-grid-field>
105   <eg-grid-field path="acp.*" parent-idl-class="acp" hidden></eg-grid-field>
106   <eg-grid-field path="acn.*" parent-idl-class="acn" hidden></eg-grid-field>
107   <eg-grid-field path="acn.prefix.label" label="[% l('CN Prefix') %]" parent-idl-class="acn" hidden></eg-grid-field>
108   <eg-grid-field path="acn.suffix.label" label="[% l('CN Suffix') %]" 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