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