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