]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/templates/staff/serials/t_view_items_grid.tt2
LP#1739286: Revert "lp1739286 default search box in Z39.50"
[working/Evergreen.git] / Open-ILS / src / templates / staff / serials / t_view_items_grid.tt2
1 <div>
2   <eg-grid
3     id-field="id"
4     features="-display,-sort,-multisort"
5     items-provider="itemGridProvider"
6     grid-controls="itemGridControls"
7     menu-label="[% l('Filter items... ') %]"
8     persist-key="serials.view_item_grid">
9
10     <eg-grid-menu-item handler="filter_items_all"
11       label="[% l('All') %]"></eg-grid-menu-item>
12
13     <eg-grid-menu-item handler="filter_items_have"
14       label="[% l('Held') %]"></eg-grid-menu-item>
15
16     <eg-grid-menu-item handler="filter_items_dont_have"
17       label="[% l('Not Held') %]"></eg-grid-menu-item>
18
19     <eg-grid-menu-item divider="true"></eg-grid-menu-item>
20
21     <eg-grid-menu-item ng-repeat="status in svc.item_status_i18n"
22       label="[% l('Status:') %] {{status.label}}" handler-data="status"
23       handler="filter_items_by_status"></eg-grid-menu-item>
24
25
26     <eg-grid-menu-item handler="receive_next" standalone="true"
27         label="[% l('Receive Next') %]"></eg-grid-menu-item>
28
29     <eg-grid-menu-item handler="add_issuances" standalone="true"
30         label="[% l('Predict New Issues') %]"></eg-grid-menu-item>
31
32     <eg-grid-menu-item handler="add_special_issuance" standalone="true"
33         label="[% l('Add Special Issue') %]"></eg-grid-menu-item>
34
35     <eg-grid-menu-item handler="checkbox_handler"
36       label="[% l('Barcode on receive') %]"
37       checkbox="receive_and_barcode"
38       checked="receive_and_barcode"/>
39
40     <eg-grid-menu-item handler="checkbox_handler"
41       label="[% l('Print routing lists') %]"
42       checkbox="do_print_routing_lists"
43       checked="do_print_routing_lists"/>
44
45
46 <!-- Hiding this for now ... seems unnecessary?
47     <eg-grid-menu-item handler="checkbox_handler"
48       label="[% l('Bind on receive') %]"
49       checkbox="receive_and_bind"
50       checked="receive_and_bind"/>
51 -->
52
53
54     <eg-grid-action handler="menu_print_routing_lists"
55       label="[% l('Print routing lists') %]"></eg-grid-action>
56
57     <eg-grid-action handler="receive_selected"
58       disabled="need_expected"
59       label="[% l('Receive selected') %]"></eg-grid-action>
60
61     <eg-grid-action handler="bind_selected"
62       disabled="need_one_selected"
63       label="[% l('Barcode selected') %]"></eg-grid-action>
64
65     <eg-grid-action handler="bind_selected"
66       disabled="need_many_selected"
67       label="[% l('Bind selected') %]"></eg-grid-action>
68
69     <eg-grid-action handler="following_issuance"
70       disabled="need_one_selected"
71       label="[% l('Add following issue') %]"></eg-grid-action>
72
73     <eg-grid-action handler="edit_issuance_holding_code"
74       label="[% l('Edit issue holding codes') %]"></eg-grid-action>
75
76     <eg-grid-action handler="set_selected_as_claimed"
77       label="[% l('Mark as claimed') %]"></eg-grid-action>
78     <eg-grid-action handler="set_selected_as_discarded"
79       label="[% l('Mark as discarded') %]"></eg-grid-action>
80     <eg-grid-action handler="set_selected_as_not_published"
81       label="[% l('Mark as not published') %]"></eg-grid-action>
82     <eg-grid-action handler="set_selected_as_not_held"
83       label="[% l('Mark as not held') %]"></eg-grid-action>
84
85     <eg-grid-action handler="item_notes"
86       label="[% l('Item Notes') %]"></eg-grid-action>
87
88     <eg-grid-action handler="reset_selected"
89       label="[% l('Reset items') %]"></eg-grid-action>
90
91     <eg-grid-action handler="delete_items"
92       label="[% l('Delete items') %]"></eg-grid-action>
93
94     <eg-grid-field label="[% l('Distribution Library') %]" path="stream.distribution.holding_lib.name" visible></eg-grid-field>
95     <eg-grid-field label="[% l('Issuance') %]" path="issuance.label" visible></eg-grid-field>
96     <eg-grid-field label="[% l('Barcode') %]" path="unit.barcode" visible></eg-grid-field>
97     <eg-grid-field label="[% l('Publication Date') %]" path="issuance.date_published" visible>{{item.issuance.date_published|date:'shortDate'}}</eg-grid-field>
98     <eg-grid-field label="[% l('Status') %]" path="status" sortable visible></eg-grid-field>
99     <eg-grid-field label="[% l('Date Expected') %]" path="date_expected" sortable visible>{{item.date_expected|date:'shortDate'}}</eg-grid-field>
100     <eg-grid-field label="[% l('Date Received') %]" path="date_received" sortable visible>{{item.date_received|date:'shortDate'}}</eg-grid-field>
101     <eg-grid-field label="[% l('Holding Type') %]" path="issuance.holding_type" visible></eg-grid-field>
102     <eg-grid-field label="[% l('Route To') %]" path="stream.routing_label"></eg-grid-field>
103     <eg-grid-field label="[% l('Receiving Template') %]" path="stream.distribution.receive_unit_template.name" visible></eg-grid-field>
104     <eg-grid-field label="[% l('Summary Display') %]" path="stream.distribution.summary_method" visible></eg-grid-field>
105     <eg-grid-field label="[% l('Receiving Call Number') %]" path="stream.distribution.receive_call_number.label"></eg-grid-field>
106     <eg-grid-field label="[% l('Binding Call Number') %]" path="stream.distribution.bind_call_number.label"></eg-grid-field>
107     <eg-grid-field label="[% l('Binding Template') %]" path="stream.distribution.bind_unit_template.name"></eg-grid-field>
108     <eg-grid-field label="[% l('Unit Label Prefix') %]" path="stream.distribution.unit_label_prefix"></eg-grid-field>
109     <eg-grid-field label="[% l('Unit Label Suffix') %]" path="stream.distribution.unit_label_suffix"></eg-grid-field>
110     <eg-grid-field label="[% l('Display Grouping') %]" path="stream.distribution.display_grouping"></eg-grid-field>
111     <eg-grid-field label="[% l('Subscription ID') %]" path="stream.distribution.subscription.id"></eg-grid-field>
112     <eg-grid-field label="[% l('Distribution ID') %]" path="stream.distribution.id"></eg-grid-field>
113     <eg-grid-field label="[% l('Stream ID') %]" path="stream.id"></eg-grid-field>
114     <eg-grid-field label="[% l('Item ID') %]" path="id"></eg-grid-field>
115   </eg-grid>
116 </div>
117