]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/templates/staff/circ/holds/t_pull_list.tt2
LP1797025 Preferred name existing values, autocomplete
[working/Evergreen.git] / Open-ILS / src / templates / staff / circ / holds / t_pull_list.tt2
1 <div class="row">
2   <div class="col-md-3">
3     <div class="input-group">
4       <span class="input-group-addon">[% l('View pull list for: ') %]</span>
5       <eg-org-selector id="org_unit" selected="org_unit"
6         onchange="update_org_unit" disable-test="cant_have_volumes">
7       </eg-org-selector>
8     </div>
9   </div>
10 </div>
11
12 <div class="pad-vert"></div>
13
14 <eg-grid
15   id-field="id"
16   idl-class="ahopl"
17   grid-controls="gridControls"
18   persist-key="circ.holds.pull"
19   dateformat="{{$root.egDateAndTimeFormat}}">
20
21   <eg-grid-menu-item handler="detail_view" 
22     label="[% l('Detail View') %]"></eg-grid-menu-item>
23
24   <eg-grid-menu-item handler="print_full_list" 
25     label="[% l('Print Full List') %]"></eg-grid-menu-item>
26
27   <!--
28   The Alternate print UI appears to be generated in a very similar
29   fashion to our native full list printer.  Also, since it's 
30   generated from a separate standalone HTML page, the print
31   action bypasses Hatch and goes straight to the browser printer.
32   <eg-grid-menu-item handler="print_list_alt" 
33     label="[% l('Print Full List (Alt)') %]"></eg-grid-menu-item>
34   -->
35
36   <eg-grid-action handler="grid_actions.show_recent_circs"
37     label="[% l('Show Last Few Circulations') %]"></eg-grid-action>
38   <eg-grid-action handler="grid_actions.show_patrons"
39     label="[% l('Retrieve Patron') %]"></eg-grid-action>
40   <eg-grid-action divider="true"></eg-grid-action>
41   <eg-grid-action handler="grid_actions.set_copy_quality"
42     label="[% l('Set Desired Item Quality') %]"></eg-grid-action>
43   <eg-grid-action handler="grid_actions.edit_pickup_lib"
44     label="[% l('Edit Pickup Library') %]"></eg-grid-action>
45   <eg-grid-action handler="grid_actions.edit_notify_prefs"
46     label="[% l('Edit Notification Settings') %]"></eg-grid-action>
47   <eg-grid-action handler="grid_actions.edit_dates"
48     label="[% l('Edit Hold Dates') %]"></eg-grid-action>
49   <eg-grid-action handler="grid_actions.activate"
50     label="[% l('Activate') %]"></eg-grid-action>
51   <eg-grid-action handler="grid_actions.suspend"
52     label="[% l('Suspend') %]"></eg-grid-action>
53   <eg-grid-action handler="grid_actions.set_top_of_queue"
54     label="[% l('Set Top of Queue') %]"></eg-grid-action>
55   <eg-grid-action handler="grid_actions.clear_top_of_queue"
56     label="[% l('Un-Set Top of Queue') %]"></eg-grid-action>
57   <eg-grid-action handler="grid_actions.transfer_to_marked_title"
58     label="[% l('Transfer To Marked Title') %]"></eg-grid-action>
59   <eg-grid-action handler="grid_actions.mark_damaged"
60     label="[% l('Mark Item Damaged') %]"></eg-grid-action>
61   <eg-grid-action handler="grid_actions.mark_discard"
62     label="[% l('Mark Item Discard/Weed') %]"></eg-grid-action>
63   <eg-grid-action handler="grid_actions.mark_missing"
64     label="[% l('Mark Item Missing') %]"></eg-grid-action>
65   <eg-grid-action divider="true"></eg-grid-action>
66   <eg-grid-action handler="grid_actions.retarget"
67     label="[% l('Find Another Target') %]"></eg-grid-action>
68   <eg-grid-action handler="grid_actions.cancel_hold"
69     label="[% l('Cancel Hold') %]"></eg-grid-action>
70
71   <!-- Define the column using the sort-able shelving location order
72        position, but display the location label in each cell -->
73   <eg-grid-field name="copy_location_order_position" required 
74     path="current_copy.location.name" label="[% l('Shelving Location') %]">
75   </eg-grid-field>
76
77   <!-- Render the colum using the sort-able call number sort key, but
78        display the call number label, complete with prefix and suffix
79        in the cell. -->
80
81   <eg-grid-field name="call_number_sort_key" required
82     path="current_copy.call_number.label_sortkey"
83     label="[% l('Call Number') %]">
84     <span>{{item.call_number_label}}</span>
85   </eg-grid-field>
86
87   <!-- need call_number_label here so that the grid query always
88        fetches it; otherwise, the call number field above
89        won't consistently display values -->
90
91   <eg-grid-field name="call_number_label"
92     path="call_number_label" required hidden
93     label="[% l('Call Number Label') %]">
94   </eg-grid-field>
95
96   <eg-grid-field name="cn_prefix" path="current_copy.call_number.prefix.label" hidden required
97     label="[% l('Call Number Prefix') %]">
98   </eg-grid-field>
99
100   <eg-grid-field name="cn_suffix" path="current_copy.call_number.suffix.label" hidden required
101     label="[% l('Call Number Suffix') %]">
102   </eg-grid-field>
103
104   <eg-grid-field name="author" 
105     path="current_copy.call_number.record.simple_record.author" 
106     label="[% l('Author') %]"></eg-grid-field>
107   <eg-grid-field name="title" 
108     path="current_copy.call_number.record.simple_record.title" 
109     label="[% l('Title') %]">
110     <a href="/eg2/staff/catalog/record/{{item.record_id}}">
111       {{item.title}}
112     </a>
113   </eg-grid-field>
114   <eg-grid-field name="record_id" label="[% l('Bib Record ID') %]" 
115     required hidden path="current_copy.call_number.record.id"></eg-grid-field>
116   <eg-grid-field name="copy_id" 
117     path="current_copy.id" hidden required></eg-grid-field>
118   <eg-grid-field name="barcode" 
119     path="current_copy.barcode" label="[% l('Current Item') %]">
120     <a href="./cat/item/{{item.copy_id}}/summary" target="_self">
121       {{item.barcode}}
122     </a>
123   </eg-grid-field>
124   <eg-grid-field name="parts" path="part.label"
125     label="[% l('Parts') %]"></eg-grid-field>
126   <eg-grid-field name="copy_status" path="current_copy.status.name" 
127     label="[% l('Item Status') %]"></eg-grid-field>
128   <eg-grid-field name="copy_circ_lib_id" path="current_copy.circ_lib.id" 
129     required hidden label="[% l('Item Circ Lib ID') %]"></eg-grid-field>
130   <eg-grid-field name="notes" path="notes.body" 
131     hidden required label="[% l('Hold Notes') %]"></eg-grid-field>
132   <eg-grid-field name="patron_id" path="usr.id" hidden required></eg-grid-field>
133   <eg-grid-field name="patron_barcode" path="usr.card.barcode" 
134     hidden label="[% l('Patron Barcode') %]">
135     <a href="./circ/patron/{{item.patron_id}}/holds" target="_self">
136       {{item.patron_barcode}}
137     </a>
138   </eg-grid-field>
139   <eg-grid-field label="[% l('Patron Alias') %]" path="patron_alias" hidden></eg-grid-field>
140   <eg-grid-field label="[% l('Patron First Name') %]" path="patron_first" hidden></eg-grid-field>
141   <eg-grid-field label="[% l('Patron Last Name') %]" path="patron_last" hidden></eg-grid-field>
142   <eg-grid-field name="pickup_lib_name" path="pickup_lib.name" 
143     hidden required label="[% l('Pickup Library') %]"></eg-grid-field>
144   <eg-grid-field name="pickup_lib_shortname" path="pickup_lib.shortname" 
145     hidden required label="[% l('Pickup Library (Shortname)') %]"></eg-grid-field>
146   <eg-grid-field name="request_lib_name" path="request_lib.name" 
147     hidden required label="[% l('Request Library') %]"></eg-grid-field>
148   <eg-grid-field name="request_lib_shortname" path="request_lib.shortname" 
149     hidden required label="[% l('Request Library (Shortname)') %]"></eg-grid-field>
150   <eg-grid-field name="selection_ou" path="selection_ou.shortname" 
151     hidden required label="[% l('Selection Locus') %]"></eg-grid-field>
152   <eg-grid-field name="sms_carrier_name" path="sms_carrier.name"
153     hidden required label="[% l('SMS Carrier') %]"></eg-grid-field>
154   <eg-grid-field name="sms_notify" path="sms_notify"
155     hidden required label="[% l('SMS Notify') %]"></eg-grid-field>
156   <eg-grid-field name="email_notify" path="email_notify"
157     hidden required label="[% l('Email Notify') %]"></eg-grid-field>
158   <eg-grid-field name="phone_notify" path="phone_notify"
159     hidden required label="[% l('Phone Notify') %]"></eg-grid-field>
160   <eg-grid-field name="staff_hold" path="_is_staff_hold" datatype="bool"
161     required hidden label="[% l('Staff Hold') %]"></eg-grid-field>
162   <eg-grid-field label="[% l('Potential Items') %]" 
163     path='potential_copies'></eg-grid-field>
164   <eg-grid-field label="[% l('Queue Position') %]" 
165     path='queue_position' hidden></eg-grid-field>
166   <eg-grid-field label="[% l('Hold ID') %]" path='id' required hidden>
167   </eg-grid-field>
168   <eg-grid-field label="[% l('Circ Modifier') %]" path='current_copy.circ_modifier' hidden>
169   </eg-grid-field>
170   <eg-grid-field label="[% l('Item Status Change Time') %]" path='current_copy.status_changed_time' datatype="timestamp" hidden required>
171   </eg-grid-field>
172   <eg-grid-field label="[% l('Hold Type') %]" path='hold_type' hidden required>
173   </eg-grid-field>
174   <eg-grid-field label="[% l('ISBN') %]" path='mvr.isbn' hidden>
175   </eg-grid-field>
176   <eg-grid-field label="[% l('Edition') %]" path='mvr.edition' hidden>
177   </eg-grid-field>
178   <eg-grid-field label="[% l('Top of Queue') %]" path='cut_in_line' hidden>
179   </eg-grid-field>
180   <eg-grid-field label="[% l('Total Holds') %]" path='total_holds' hidden>
181   </eg-grid-field>
182   <eg-grid-field label="[% l('Request Date') %]" path='request_time' datatype="timestamp" required hidden>
183   </eg-grid-field>
184   <eg-grid-field label="[% l('Expire Date') %]" path='expire_time' datatype="timestamp" required hidden>
185   </eg-grid-field>
186 </eg-grid>
187