]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/templates/staff/circ/holds/t_pull_list.tt2
LP#1653001 Hold pull list progress dialog
[working/Evergreen.git] / Open-ILS / src / templates / staff / circ / holds / t_pull_list.tt2
1 <eg-grid
2   id-field="id"
3   idl-class="ahopl"
4   grid-controls="gridControls"
5   persist-key="circ.holds.pull">
6
7   <eg-grid-menu-item handler="detail_view" 
8     label="[% l('Detail View') %]"></eg-grid-menu-item>
9
10   <eg-grid-menu-item handler="print_full_list" 
11     label="[% l('Print Full List') %]"></eg-grid-menu-item>
12
13   <!--
14   The Alternate print UI appears to be generated in a very similar
15   fashion to our native full list printer.  Also, since it's 
16   generated from a separate standalone HTML page, the print
17   action bypasses Hatch and goes straight to the browser printer.
18   <eg-grid-menu-item handler="print_list_alt" 
19     label="[% l('Print Full List (Alt)') %]"></eg-grid-menu-item>
20   -->
21
22   <eg-grid-action handler="grid_actions.show_recent_circs"
23     label="[% l('Show Last Few Circulations') %]"></eg-grid-action>
24   <eg-grid-action handler="grid_actions.show_patrons"
25     label="[% l('Retrieve Patron') %]"></eg-grid-action>
26   <eg-grid-action divider="true"></eg-grid-action>
27   <eg-grid-action handler="grid_actions.set_copy_quality"
28     label="[% l('Set Desired Copy Quality') %]"></eg-grid-action>
29   <eg-grid-action handler="grid_actions.edit_pickup_lib"
30     label="[% l('Edit Pickup Library') %]"></eg-grid-action>
31   <eg-grid-action handler="grid_actions.edit_notify_prefs"
32     label="[% l('Edit Notification Settings') %]"></eg-grid-action>
33   <eg-grid-action handler="grid_actions.edit_dates"
34     label="[% l('Edit Hold Dates') %]"></eg-grid-action>
35   <eg-grid-action handler="grid_actions.activate"
36     label="[% l('Activate') %]"></eg-grid-action>
37   <eg-grid-action handler="grid_actions.suspend"
38     label="[% l('Suspend') %]"></eg-grid-action>
39   <eg-grid-action handler="grid_actions.set_top_of_queue"
40     label="[% l('Set Top of Queue') %]"></eg-grid-action>
41   <eg-grid-action handler="grid_actions.clear_top_of_queue"
42     label="[% l('Un-Set Top of Queue') %]"></eg-grid-action>
43   <eg-grid-action handler="grid_actions.transfer_to_marked_title"
44     label="[% l('Transfer To Marked Title') %]"></eg-grid-action>
45   <eg-grid-action handler="grid_actions.mark_damaged"
46     label="[% l('Mark Item Damaged') %]"></eg-grid-action>
47   <eg-grid-action handler="grid_actions.mark_missing"
48     label="[% l('Mark Item Missing') %]"></eg-grid-action>
49   <eg-grid-action divider="true"></eg-grid-action>
50   <eg-grid-action handler="grid_actions.retarget"
51     label="[% l('Find Another Target') %]"></eg-grid-action>
52   <eg-grid-action handler="grid_actions.cancel_hold"
53     label="[% l('Cancel Hold') %]"></eg-grid-action>
54
55   <!-- Define the column using the sort-able copy location order
56        position, but display the location label in each cell -->
57   <eg-grid-field name="copy_location_order_position" required 
58     label="[% l('Shelving Location') %]">
59     <span>{{item.shelving_loc}}</span>
60   </eg-grid-field>
61   <eg-grid-field name="shelving_loc" path="current_copy.location.name" 
62     required hidden label="[% l('Shelving Location Label') %]">
63   </eg-grid-field>
64
65   <!-- Render the colum using the sort-able call number sort key, but 
66        display the call number label, complete with prefix and suffix 
67        in the cell. -->
68   <eg-grid-field name="call_number_sort_key" required
69     path="current_copy.call_number.label_sortkey" 
70     label="[% l('Call Number') %]">
71     <span>{{item.cn_prefix}} {{item.call_number_label}} {{item.cn_suffix}}</span>
72   </eg-grid-field>
73   <eg-grid-field name="call_number_label" 
74     path="call_number_label" required hidden
75     label="[% l('Call Number Label') %]"></eg-grid-field>
76   <eg-grid-field name="cn_prefix" path="current_copy.call_number.prefix.label" 
77     hidden required label="[% l('Call Number Prefix') %]"></eg-grid-field>
78   <eg-grid-field name="cn_suffix" path="current_copy.call_number.suffix.label"
79     hidden required label="[% l('Call Number Suffix') %]"></eg-grid-field>
80
81
82   <eg-grid-field name="author" 
83     path="current_copy.call_number.record.simple_record.author" 
84     label="[% l('Author') %]"></eg-grid-field>
85   <eg-grid-field name="title" 
86     path="current_copy.call_number.record.simple_record.title" 
87     label="[% l('Title') %]">
88     <a target="_self" 
89       href="[% ctx.base_path %]/staff/cat/catalog/record/{{item.record_id}}">
90       {{item.title}}
91     </a>
92   </eg-grid-field>
93   <eg-grid-field name="record_id" label="[% l('Bib Record ID') %]" 
94     required hidden path="current_copy.call_number.record.id"></eg-grid-field>
95   <eg-grid-field name="copy_id" 
96     path="current_copy.id" hidden required></eg-grid-field>
97   <eg-grid-field name="barcode" 
98     path="current_copy.barcode" label="[% l('Current Copy') %]">
99     <a href="./cat/item/{{item.copy_id}}/summary" target="_self">
100       {{item.barcode}}
101     </a>
102   </eg-grid-field>
103   <eg-grid-field name="parts" path="current_copy.parts.label" 
104     label="[% l('Parts') %]"></eg-grid-field>
105   <eg-grid-field name="copy_status" path="current_copy.status.name" 
106     label="[% l('Copy Status') %]"></eg-grid-field>
107   <eg-grid-field name="copy_circ_lib_id" path="current_copy.circ_lib.id" 
108     required hidden label="[% l('Copy Circ Lib ID') %]"></eg-grid-field>
109   <eg-grid-field name="notes" path="notes.body" 
110     hidden label="[% l('Hold Notes') %]"></eg-grid-field>
111   <eg-grid-field name="patron_id" path="usr.id" hidden required></eg-grid-field>
112   <eg-grid-field name="patron_barcode" path="usr.card.barcode" 
113     hidden label="[% l('Patron Barcode') %]">
114     <a href="./circ/patron/{{item.patron_id}}/holds" target="_self">
115       {{item.patron_barcode}}
116     </a>
117   </eg-grid-field>
118   <eg-grid-field name="pickup_lib_name" path="pickup_lib.name" 
119     hidden label="[% l('Pickup Library') %]"></eg-grid-field>
120   <eg-grid-field name="pickup_lib_shortname" path="pickup_lib.shortname" 
121     hidden label="[% l('Pickup Library (Shortname)') %]"></eg-grid-field>
122   <eg-grid-field name="request_lib_name" path="request_lib.name" 
123     hidden label="[% l('Request Library') %]"></eg-grid-field>
124   <eg-grid-field name="request_lib_shortname" path="request_lib.shortname" 
125     hidden label="[% l('Request Library (Shortname)') %]"></eg-grid-field>
126   <eg-grid-field name="selection_ou" path="selection_ou.shortname" 
127     hidden label="[% l('Selection Locus') %]"></eg-grid-field>
128   <eg-grid-field name="sms_carrier_name" path="sms_carrier.name" 
129     hidden label="[% l('SMS Carrier') %]"></eg-grid-field>
130   <eg-grid-field label="[% l('Potential Copies') %]" 
131     path='potential_copies'></eg-grid-field>
132   <eg-grid-field label="[% l('Queue Position') %]" 
133     path='queue_position' hidden></eg-grid-field>
134   <eg-grid-field label="[% l('Hold ID') %]" path='id' required hidden>
135   </eg-grid-field>
136   <eg-grid-field label="[% l('Request Date') %]" path='request_time' hidden>
137   </eg-grid-field>
138 </eg-grid>
139