LP#1538691: Use items instead of copies
[working/Evergreen.git] / Open-ILS / src / templates / staff / cat / volcopy / t_defaults.tt2
1 <div class="container-fluid">
2     <div class="row">
3         <div class="col-md-3">
4             <div class="row">
5                 <div class="col-xs-12">
6                     <h4>[% l('Volume/Item Detail defaults') %]</h4>
7                 </div>
8             </div>
9             <div class="row">
10                 <div class="col-xs-12">
11                     <label>
12                         <input type="checkbox" ng-change="saveDefaults()" ng-model="defaults.always_volumes"/>
13                         [% l('Always display Volume/Item Detail pane') %]
14                     </label>
15                 </div>
16             </div>
17             <div class="row">
18                 <div class="col-xs-12">
19                     <label>
20                         <input type="checkbox" ng-change="saveDefaults()" ng-model="defaults.show_vol_template_controls"/>
21                         [% l('Allow Call Number attributes in Item Templates') %]
22                     </label>
23                 </div>
24             </div>
25
26             <div class="row">
27                 <div class="col-xs-12">
28                     <h4 class="pad-vert">[% l('Creation Defaults') %]</h4>
29                     <select class="form-control" ng-change="saveDefaults()" ng-model="defaults.classification" ng-options="cl.id() as cl.name() for cl in classification_list">
30                         <option value="">[% l('Use Library Setting') %]</option>
31                     </select>
32                 </div>
33             </div>
34
35             <div class="row">
36                 <div class="col-xs-12">
37                     <select class="form-control" ng-change="saveDefaults()" ng-model="defaults.prefix" ng-options="p.id() as p.label() for p in prefix_list">
38                         <option value="">Unset Default Prefix</option>
39                     </select>
40                 </div>
41             </div>
42
43             <div class="row">
44                 <div class="col-xs-12">
45                     <select class="form-control" ng-change="saveDefaults()" ng-model="defaults.suffix" ng-options="s.id() as s.label() for s in suffix_list">
46                         <option value="">Unset Default Suffix</option>
47                     </select>
48                 </div>
49             </div>
50
51             <div class="row pad-vert">
52                 <div class="col-xs-12">
53                     <label>
54                         <input type="checkbox" ng-change="saveDefaults()" ng-model="defaults.auto_gen_barcode"/>
55                         [% l('Auto-generate Barcodes') %]
56                     </label>
57                 </div>
58             </div>
59
60             <div class="row">
61                 <div class="col-xs-12">
62                     <label>
63                         <input type="checkbox" ng-change="saveDefaults()" ng-model="defaults.barcode_checkdigit"/>
64                         [% l('Use checkdigit') %]
65                     </label>
66                 </div>
67             </div>
68
69             <div class="row pad-vert">
70                 <div class="col-xs-12">
71                     <label>
72                         <input type="checkbox" ng-change="saveDefaults()" ng-model="defaults.print_item_labels"/>
73                         [% l('Print Item Labels on Save &amp; Exit') %]
74                     </label>
75                 </div>
76             </div>
77
78         </div>
79
80         <div class="col-md-5">
81             <div class="row">
82                 <div class="col-xs-12">
83                     <h4>[% l('Display defaults for Working Item tab') %]</h4>
84                 </div>
85             </div>
86
87             <div class="row">
88                 <div class="col-xs-6">
89                     <h6>[% l('Item display') %]</h6>
90                 </div>
91                 <div class="col-xs-6">
92                     <h6>[% l('Miscellaneous') %]</h6>
93                 </div>
94             </div>
95
96             <div class="row">
97                 <div class="col-xs-6">
98                     <label>
99                         <input type="checkbox" ng-change="workingGridControls.saveConfig()" ng-model="workingGridControls.columnMap()['active_date'].visible"/>
100                         [% l('Activated') %]
101                     </label>
102                 </div>
103                 <div class="col-xs-6">
104                     <label>
105                         <input type="checkbox" ng-change="saveDefaults()" ng-model="defaults.attributes.alerts"/>
106                         [% l('Add/Edit Item Alerts') %]
107                     </label>
108                 </div>
109             </div>
110
111             <div class="row">
112                 <div class="col-xs-6">
113                     <label>
114                         <input type="checkbox" ng-change="workingGridControls.saveConfig()" ng-model="workingGridControls.columnMap()['create_date'].visible"/>
115                         [% l('Created') %]
116                     </label>
117                 </div>
118                 <div class="col-xs-6">
119                     <label>
120                         <input type="checkbox" ng-change="saveDefaults()" ng-model="defaults.attributes.deposit"/>
121                         [% l('Deposit?') %]
122                     </label>
123                 </div>
124             </div>
125
126             <div class="row">
127                 <div class="col-xs-6">
128                     <label>
129                         <input type="checkbox" ng-change="workingGridControls.saveConfig()" ng-model="workingGridControls.columnMap()['call_number.label'].visible"/>
130                         [% l('Call Number') %]
131                     </label>
132                 </div>
133                 <div class="col-xs-6">
134                     <label>
135                         <input type="checkbox" ng-change="saveDefaults()" ng-model="defaults.attributes.deposit_amount"/>
136                         [% l('Deposit Amount') %]
137                     </label>
138                 </div>
139             </div>
140
141             <div class="row">
142                 <div class="col-xs-6">
143                 </div>
144                 <div class="col-xs-6">
145                     <label>
146                         <input type="checkbox" ng-change="saveDefaults()" ng-model="defaults.attributes.opac_visible"/>
147                         [% l('OPAC Visible?') %]
148                     </label>
149                 </div>
150             </div>
151
152             <div class="row">
153                 <div class="col-xs-6">
154                     <h6>[% l('Circulation') %]</h6>
155                 </div>
156                 <div class="col-xs-6">
157                     <label>
158                         <input type="checkbox" ng-change="saveDefaults()" ng-model="defaults.attributes.price"/>
159                         [% l('Price') %]
160                     </label>
161                 </div>
162             </div>
163
164             <div class="row">
165                 <div class="col-xs-6">
166                     <label>
167                         <input type="checkbox" ng-change="saveDefaults()" ng-model="defaults.attributes.circulate"/>
168                         [% l('Circulate?') %]
169                     </label>
170                 </div>
171                 <div class="col-xs-6">
172                     <label>
173                         <input type="checkbox" ng-change="saveDefaults()" ng-model="defaults.attributes.mint_condition"/>
174                         [% l('Quality') %]
175                     </label>
176                 </div>
177             </div>
178
179             <div class="row">
180                 <div class="col-xs-6">
181                     <label>
182                         <input type="checkbox" ng-change="saveDefaults()" ng-model="defaults.attributes.circ_lib"/>
183                         [% l('Circulation Library') %]
184                     </label>
185                 </div>
186                 <div class="col-xs-6">
187                     <label>
188                         <input type="checkbox" ng-change="saveDefaults()" ng-model="defaults.attributes.ref"/>
189                         [% l('Reference?') %]
190                     </label>
191                 </div>
192             </div>
193
194             <div class="row">
195                 <div class="col-xs-6">
196                     <label>
197                         <input type="checkbox" ng-change="saveDefaults()" ng-model="defaults.attributes.circ_modifier"/>
198                         [% l('Circulation Modifier') %]
199                     </label>
200                 </div>
201                 <div class="col-xs-6">
202                     <label>
203                         <input type="checkbox" ng-change="saveDefaults()" ng-model="defaults.attributes.cost"/>
204                         [% l('Acquisition Cost') %]
205                     </label>
206                 </div>
207             </div>
208
209             <div class="row">
210                 <div class="col-xs-6">
211                     <label>
212                         <input type="checkbox" ng-change="saveDefaults()" ng-model="defaults.attributes.circ_as_type"/>
213                         [% l('Circulate as Type') %]
214                     </label>
215                 </div>
216                 <div class="col-xs-6">
217                     <label>
218                         <input type="checkbox" ng-change="saveDefaults()" ng-model="defaults.attributes.status"/>
219                         [% l('Status') %]
220                     </label>
221                 </div>
222             </div>
223
224             <div class="row">
225                 <div class="col-xs-6">
226                     <label>
227                         <input type="checkbox" ng-change="saveDefaults()" ng-model="defaults.attributes.loan_duration"/>
228                         [% l('Loan Duration') %]
229                     </label>
230                 </div>
231                 <div class="col-xs-6">
232                     <label>
233                         <input type="checkbox" ng-change="saveDefaults()" ng-model="defaults.copy_notes"/>
234                         [% l('Add/Edit Item Notes') %]
235                     </label>
236                 </div>
237             </div>
238
239             <div class="row">
240                 <div class="col-xs-6">
241                     <label>
242                         <input type="checkbox" ng-change="saveDefaults()" ng-model="defaults.attributes.fine_level"/>
243                         [% l('Fine Level') %]
244                     </label>
245                 </div>
246                 <div class="col-xs-6">
247                     <label>
248                         <input type="checkbox" ng-change="saveDefaults()" ng-model="defaults.copy_notes_pub"/>
249                         [% l('Item Notes are Public') %]
250                     </label>
251                 </div>
252             </div>
253
254             <div class="row">
255                 <div class="col-xs-6">
256                     <label>
257                         <input type="checkbox" ng-change="saveDefaults()" ng-model="defaults.attributes.location"/>
258                         [% l('Shelving Location') %]
259                     </label>
260                 </div>
261                 <div class="col-xs-6">
262                     <h6>[% l('Statistical Categories') %]</h6>
263                 </div>
264             </div>
265
266             <div class="row">
267                 <div class="col-xs-6">
268                     <label>
269                         <input type="checkbox" ng-change="saveDefaults()" ng-model="defaults.attributes.holdable"/>
270                         [% l('Holdable?') %]
271                     </label>
272                 </div>
273                 <div class="col-xs-6">
274                     <label>
275                         <eg-org-selector
276                             selected="defaults.statcat_filter"
277                             noDefault label="[% l('Default Filter Library') %]"
278                         ></eg-org-selector>
279                     </label>
280                 </div>
281             </div>
282
283             <div class="row">
284                 <div class="col-xs-6">
285                     <label>
286                         <input type="checkbox" ng-change="saveDefaults()" ng-model="defaults.attributes.age_protect"/>
287                         [% l('Age-based Hold Protection') %]
288                     </label>
289                 </div>
290                 <div class="col-xs-6">
291                     <label>
292                         <input type="checkbox" ng-change="saveDefaults()" ng-model="defaults.statcats"/>
293                         [% l('Edit Statistical Data') %]
294                     </label>
295                 </div>
296             </div>
297
298             <div class="row">
299                 <div class="col-xs-6">
300                     <label>
301                         <input type="checkbox" ng-change="saveDefaults()" ng-model="defaults.attributes.floating"/>
302                         [% l('Floating') %]
303                     </label>
304                 </div>
305                 <div class="col-xs-6">
306                     <label>
307                         <input type="checkbox" ng-change="saveDefaults()" ng-model="defaults.copy_tags"/>
308                         [% l('Add/Edit Item Tags') %]
309                     </label>
310                 </div>
311             </div>
312
313         </div>
314
315         <div class="col-md-4">
316             <div class="row">
317                 <div class="col-xs-12">
318                     <h4>[% l('Display defaults for Completed Items tab') %]</h4>
319                 </div>
320             </div>
321
322             <div class="row" ng-repeat="col in completedGridControls.columnsProvider().columns">
323                 <div class="col-xs-12">
324                     <label>
325                         <input ng-change="completedGridControls.saveConfig()" type="checkbox" ng-model="col.visible"/>
326                         {{col.label}}
327                     </label>
328                 </div>
329             </div>
330
331         </div>
332     </div>
333 </div>