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