]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/templates/staff/circ/checkin/t_checkin_table.tt2
LP#1705524: Honor timezone of the acting library where appropriate
[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 
13     handler="fetchLastCircPatron"
14     label="[% l('Retrieve Last Patron Who Circulated Item') %]">
15   </eg-grid-action>
16   <eg-grid-action 
17     handler="showBackdateDialog"
18     label="[% l('Backdate Post-Checkin') %]">
19   </eg-grid-action>
20   <eg-grid-action 
21     handler="showMarkDamaged"
22     label="[% l('Mark Items Damaged') %]">
23   </eg-grid-action>
24   <eg-grid-action 
25     handler="abortTransit"
26     label="[% l('Cancel Transits') %]">
27   </eg-grid-action>
28
29   <eg-grid-field label="[% l('Alert Msg') %]"   
30     path="acp.alert_message"></eg-grid-field>
31
32   <eg-grid-field label="[% l('Balance Owed') %]"     
33     path='mbts.balance_owed' comparator="sort_money"></eg-grid-field>
34
35   <eg-grid-field label="[% l('Barcode') %]" path="copy_barcode">
36     <!-- FIXME: ng-if / ng-disabled not working since the contents 
37         are $interpolate'd and not $compile'd.
38         I want to hide / disable the href when there is no acp ID 
39     -->
40     <a href="./cat/item/{{item.acp.id()}}/summary" target="_self">
41       {{item.copy_barcode}}
42     </a>
43   </eg-grid-field>
44
45   <eg-grid-field label="[% l('Bill #') %]"     
46     path='circ.id'></eg-grid-field>
47
48   <eg-grid-field label="[% l('Checkin Date') %]"    
49     path='circ.checkin_time' datatype="timestamp"></eg-grid-field>
50
51   <eg-grid-field label="[% l('Family Name') %]"    
52     path='au.family_name'></eg-grid-field>
53
54   <eg-grid-field label="[% l('Finish') %]"    
55     path='circ.stop_fines_time' datatype="timestamp"></eg-grid-field>
56
57   <eg-grid-field label="[% l('Location') %]"    
58     path='acp.location.name'></eg-grid-field>
59
60   <eg-grid-field label="[% l('Route To') %]" path='route_to'>
61   </eg-grid-field>
62
63   <eg-grid-field label="[% l('Start') %]"    
64     path='circ.xact_start'></eg-grid-field>
65
66   <eg-grid-field label="[% l('Title') %]" path="title">
67     <a target="_self" href="[% ctx.base_path %]/staff/cat/catalog/record/{{item.record.doc_id()}}">
68       {{item.title}}
69     </a>
70   </eg-grid-field>
71
72   <eg-grid-field label="[% l('Due Date') %]"    
73     path='circ.due_date' dateonlyinterval="duration" datecontext="circ_lib" datatype="timestamp" hidden></eg-grid-field>
74
75   <eg-grid-field label="[% l('Author') %]"      
76     path="author" hidden></eg-grid-field>
77
78   <eg-grid-field label="[% l('Call Number') %]" 
79     path="acn.label" hidden></eg-grid-field>
80
81   <eg-grid-field path="acp.circ_modifier.name" label="[% l('Circulation Modifier') %]"></eg-grid-field>
82   <eg-grid-field path="acp.circ_lib.shortname" label="[% l('Circulation Library') %]"></eg-grid-field>
83   <eg-grid-field path="circ.*" parent-idl-class="circ" hidden></eg-grid-field>
84   <eg-grid-field path="acp.*" parent-idl-class="acp" hidden></eg-grid-field>
85   <eg-grid-field path="acn.*" parent-idl-class="acn" hidden></eg-grid-field>
86   <eg-grid-field path="record.*" parent-idl-class="mvr" hidden></eg-grid-field>
87   <eg-grid-field path="mbts.*" parent-idl-class="mbts" hidden></eg-grid-field>
88   <eg-grid-field path="au.*" parent-idl-class="au" hidden></eg-grid-field>
89   <eg-grid-field path="transit.*" parent-idl-class="atc" hidden></eg-grid-field>
90   <eg-grid-field path="hold.*" parent-idl-class="ahr" hidden></eg-grid-field>
91 </eg-grid>
92