webstaff: add view/place orders action to holdings grid
[Evergreen.git] / Open-ILS / src / templates / staff / cat / catalog / t_holdings.tt2
1
2 <div>
3   <div class="row">
4     <div class="col-md-3">
5       <div class="input-group">
6         <span class="input-group-addon">[% l('Show holdings at or below') %]</span>
7         <eg-org-selector selected="holdings_ou" onchange="holdings_ou_changed" sticky-setting="cat.holdings_view_ou"></eg-org-selector>
8       </div>
9     </div>
10   </div>
11
12   <div class="pad-vert"></div>
13
14   <eg-grid
15     id-field="index"
16     features="-display,-sort,-multisort"
17     items-provider="holdingsGridDataProvider"
18     grid-controls="holdingsGridControls"
19     persist-key="cat.holdings">
20
21      <eg-grid-menu-item handler="holdings_checkbox_handler"
22       label="[% l('Show empty volumes') %]"
23       checkbox="holdings_show_empty"
24       checked="holdings_show_empty"/>
25  
26     <eg-grid-menu-item handler="holdings_checkbox_handler"
27       label="[% l('Show copy detail') %]"
28       checkbox="holdings_show_copies"
29       checked="holdings_show_copies"/>
30
31     <eg-grid-menu-item handler="holdings_checkbox_handler"
32       label="[% l('Show volume detail') %]"
33       checkbox="holdings_show_vols"
34       checked="holdings_show_vols"/>
35
36     <eg-grid-action handler="add_copies_to_bucket"
37       label="[% l('Add Items to Bucket') %]"></eg-grid-action>
38     <eg-grid-action handler="requestItems"
39       label="[% l('Request Items') %]"></eg-grid-action>
40     <eg-grid-action handler="view_place_orders"
41       label="[% l('View/Place Orders') %]"></eg-grid-action>
42     <eg-grid-action handler="attach_to_peer_bib"
43       label="[% l('Link as Conjoined to Previously Marked Bib Record') %]"></eg-grid-action>
44     <eg-grid-action handler="markLibAsVolTarget"
45       label="[% l('Choose Library for Volume/Copy Transfer Destination') %]"></eg-grid-action>
46
47     <eg-grid-action handler="selectedHoldingsItemStatus" group="[% l('Show') %]"
48       label="[% l('Item Status (list)') %]"></eg-grid-action>
49     <eg-grid-action handler="selectedHoldingsItemStatusDetail" group="[% l('Show') %]"
50       label="[% l('Item Status (detail)') %]"></eg-grid-action>
51     <eg-grid-action handler="selectedHoldingsItemStatusTgrEvt" group="[% l('Show') %]"
52       label="[% l('Triggered Events') %]"></eg-grid-action>
53     <eg-grid-action handler="selectedHoldingsItemStatusHolds" group="[% l('Show') %]"
54       label="[% l('Item Holds') %]"></eg-grid-action>
55
56     <eg-grid-action handler="selectedHoldingsDamaged" group="[% l('Mark') %]"
57       label="[% l('Item as Damaged') %]"></eg-grid-action>
58     <eg-grid-action handler="selectedHoldingsMissing" group="[% l('Mark') %]"
59       label="[% l('Item as Missing') %]"></eg-grid-action>
60     <eg-grid-action handler="markLibFromSelectedAsVolTarget" group="[% l('Mark') %]"
61       label="[% l('Library as Volume Transfer Destination') %]"></eg-grid-action>
62     <eg-grid-action handler="markVolAsItemTarget" group="[% l('Mark') %]" disabled="vols_not_shown"
63       label="[% l('Volume as Item Transfer Destination') %]"></eg-grid-action>
64
65     <eg-grid-action handler="selectedHoldingsCopyAdd" group="[% l('Add') %]" disabled="vols_not_shown"
66       label="[% l('Copies') %]"></eg-grid-action>
67     <eg-grid-action handler="selectedHoldingsVolCopyAdd" group="[% l('Add') %]"
68       label="[% l('Volumes and Copies') %]"></eg-grid-action>
69
70     <eg-grid-action handler="selectedHoldingsVolEdit" group="[% l('Edit') %]"
71       label="[% l('Volumes') %]"></eg-grid-action>
72     <eg-grid-action handler="selectedHoldingsCopyEdit" group="[% l('Edit') %]"
73       label="[% l('Copies') %]"></eg-grid-action>
74     <eg-grid-action handler="selectedHoldingsVolCopyEdit" group="[% l('Edit') %]"
75       label="[% l('Volumes and Copies') %]"></eg-grid-action>
76     <eg-grid-action handler="replaceBarcodes" group="[% l('Edit') %]"
77       label="[% l('Replace Barcodes') %]"></eg-grid-action>
78
79     <eg-grid-action handler="selectedHoldingsEmptyVolCopyDelete" group="[% l('Delete') %]" disabled="vols_not_shown"
80       label="[% l('Empty Volumes') %]"></eg-grid-action>
81     <eg-grid-action handler="selectedHoldingsCopyDelete" group="[% l('Delete') %]" disabled="copies_not_shown"
82       label="[% l('Copies') %]"></eg-grid-action>
83     <eg-grid-action handler="selectedHoldingsVolCopyDelete" group="[% l('Delete') %]" disabled="copies_not_shown"
84       label="[% l('Volumes and Copies') %]"></eg-grid-action>
85
86     <eg-grid-action handler="transferVolumesToRecord" group="[% l('Transfer') %]"
87       label="[% l('Volumes to Previously Marked Record') %]"></eg-grid-action>
88     <eg-grid-action handler="transferVolumesToLibrary" group="[% l('Transfer') %]"
89       label="[% l('Volumes to Previously Marked Library') %]"></eg-grid-action>
90     <eg-grid-action handler="transferVolumesToRecordAndLibrary" group="[% l('Transfer') %]"
91       label="[% l('Volumes to Previously Marked Record and Library') %]"></eg-grid-action>
92     <eg-grid-action handler="changeItemOwningLib" group="[% l('Transfer') %]"
93       label="[% l('Copies to Previously Marked Library') %]"></eg-grid-action>
94     <eg-grid-action handler="transferItems" group="[% l('Transfer') %]"
95       label="[% l('Items to Previously Marked Volume') %]"></eg-grid-action>
96
97     <eg-grid-field label="[% l('Owning Library') %]"  path="owner_label" flex="4" align="right" visible></eg-grid-field>
98     <eg-grid-field label="[% l('Call Number') %]"     path="call_number.label" visible></eg-grid-field>
99     <eg-grid-field label="[% l('Location') %]"        path="location.name" visible></eg-grid-field>
100     <eg-grid-field label="[% l('Copy #') %]"          path="copy_number" flex="1" visible></eg-grid-field>
101     <eg-grid-field label="[% l('Barcode') %]"         path="barcode" visible></eg-grid-field>
102     <eg-grid-field label="[% l('Status') %]"          path="status.name" flex="1" visible></eg-grid-field>
103
104     <eg-grid-field label="[% l('Prefix') %]"                 path="call_number.prefix.label"></eg-grid-field>
105     <eg-grid-field label="[% l('Suffix') %]"                 path="call_number.suffix.label"></eg-grid-field>
106     <eg-grid-field label="[% l('Parts') %]"                  path="monograph_parts"></eg-grid-field>
107     <eg-grid-field label="[% l('Circulating Library') %]"    path="circ_lib.name"></eg-grid-field>
108     <eg-grid-field label="[% l('Price') %]"                  path="price"></eg-grid-field>
109     <eg-grid-field label="[% l('Circulation Modifier') %]"   path="circ_modifier"></eg-grid-field>
110     <eg-grid-field label="[% l('Copy ID') %]"                path="id"></eg-grid-field>
111     <eg-grid-field label="[% l('Circulate As MARC Type') %]" path="circ_as_type"></eg-grid-field>
112     <eg-grid-field label="[% l('Circulate') %]"              datatype="bool" path="circulate"></eg-grid-field>
113     <eg-grid-field label="[% l('Holdable') %]"               datatype="bool" path="holdable"></eg-grid-field>
114     <eg-grid-field label="[% l('Age-based Hold Protection') %]" path="age_protect.name"></eg-grid-field>
115     <eg-grid-field label="[% l('Reference') %]"              datatype="bool" path="ref"></eg-grid-field>
116   
117   </eg-grid>
118 </div>
119