89e4ebee9b731b605bc234703767783d7abc448c
[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/Copy 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/Copy 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 Copy 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 Copy tab') %]</h4>
84                 </div>
85             </div>
86
87             <div class="row">
88                 <div class="col-xs-6">
89                     <h6>[% l('Copy 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.alert_message"/>
106                         <!-- <input type="checkbox" ng-change="saveDefaults()" ng-model="defaults.attributes.alerts"/> -->
107                         [% l('Alert Message') %]
108                     </label>
109                 </div>
110             </div>
111
112             <div class="row">
113                 <div class="col-xs-6">
114                     <label>
115                         <input type="checkbox" ng-change="workingGridControls.saveConfig()" ng-model="workingGridControls.columnMap()['create_date'].visible"/>
116                         [% l('Created') %]
117                     </label>
118                 </div>
119                 <div class="col-xs-6">
120                     <label>
121                         <input type="checkbox" ng-change="saveDefaults()" ng-model="defaults.attributes.deposit"/>
122                         [% l('Deposit?') %]
123                     </label>
124                 </div>
125             </div>
126
127             <div class="row">
128                 <div class="col-xs-6">
129                     <label>
130                         <input type="checkbox" ng-change="workingGridControls.saveConfig()" ng-model="workingGridControls.columnMap()['call_number.label'].visible"/>
131                         [% l('Call Number') %]
132                     </label>
133                 </div>
134                 <div class="col-xs-6">
135                     <label>
136                         <input type="checkbox" ng-change="saveDefaults()" ng-model="defaults.attributes.deposit_amount"/>
137                         [% l('Deposit Amount') %]
138                     </label>
139                 </div>
140             </div>
141
142             <div class="row">
143                 <div class="col-xs-6">
144                 </div>
145                 <div class="col-xs-6">
146                     <label>
147                         <input type="checkbox" ng-change="saveDefaults()" ng-model="defaults.attributes.opac_visible"/>
148                         [% l('OPAC Visible?') %]
149                     </label>
150                 </div>
151             </div>
152
153             <div class="row">
154                 <div class="col-xs-6">
155                     <h6>[% l('Circulation') %]</h6>
156                 </div>
157                 <div class="col-xs-6">
158                     <label>
159                         <input type="checkbox" ng-change="saveDefaults()" ng-model="defaults.attributes.price"/>
160                         [% l('Price') %]
161                     </label>
162                 </div>
163             </div>
164
165             <div class="row">
166                 <div class="col-xs-6">
167                     <label>
168                         <input type="checkbox" ng-change="saveDefaults()" ng-model="defaults.attributes.circulate"/>
169                         [% l('Circulate?') %]
170                     </label>
171                 </div>
172                 <div class="col-xs-6">
173                     <label>
174                         <input type="checkbox" ng-change="saveDefaults()" ng-model="defaults.attributes.mint_condition"/>
175                         [% l('Quality') %]
176                     </label>
177                 </div>
178             </div>
179
180             <div class="row">
181                 <div class="col-xs-6">
182                     <label>
183                         <input type="checkbox" ng-change="saveDefaults()" ng-model="defaults.attributes.circ_lib"/>
184                         [% l('Circulation Library') %]
185                     </label>
186                 </div>
187                 <div class="col-xs-6">
188                     <label>
189                         <input type="checkbox" ng-change="saveDefaults()" ng-model="defaults.attributes.ref"/>
190                         [% l('Reference?') %]
191                     </label>
192                 </div>
193             </div>
194
195             <div class="row">
196                 <div class="col-xs-6">
197                     <label>
198                         <input type="checkbox" ng-change="saveDefaults()" ng-model="defaults.attributes.circ_modifier"/>
199                         [% l('Circulation Modifier') %]
200                     </label>
201                 </div>
202                 <div class="col-xs-6">
203                     <label>
204                         <input type="checkbox" ng-change="saveDefaults()" ng-model="defaults.attributes.cost"/>
205                         [% l('Acquisition Cost') %]
206                     </label>
207                 </div>
208             </div>
209
210             <div class="row">
211                 <div class="col-xs-6">
212                     <label>
213                         <input type="checkbox" ng-change="saveDefaults()" ng-model="defaults.attributes.circ_as_type"/>
214                         [% l('Circulate as Type') %]
215                     </label>
216                 </div>
217                 <div class="col-xs-6">
218                     <label>
219                         <input type="checkbox" ng-change="saveDefaults()" ng-model="defaults.attributes.status"/>
220                         [% l('Status') %]
221                     </label>
222                 </div>
223             </div>
224
225             <div class="row">
226                 <div class="col-xs-6">
227                     <label>
228                         <input type="checkbox" ng-change="saveDefaults()" ng-model="defaults.attributes.loan_duration"/>
229                         [% l('Loan Duration') %]
230                     </label>
231                 </div>
232                 <div class="col-xs-6">
233                     <label>
234                         <input type="checkbox" ng-change="saveDefaults()" ng-model="defaults.copy_notes"/>
235                         [% l('Add/Edit Copy Notes') %]
236                     </label>
237                 </div>
238             </div>
239
240             <div class="row">
241                 <div class="col-xs-6">
242                     <label>
243                         <input type="checkbox" ng-change="saveDefaults()" ng-model="defaults.attributes.fine_level"/>
244                         [% l('Fine Level') %]
245                     </label>
246                 </div>
247                 <div class="col-xs-6">
248                     <label>
249                         <input type="checkbox" ng-change="saveDefaults()" ng-model="defaults.copy_notes_pub"/>
250                         [% l('Copy Notes are Public') %]
251                     </label>
252                 </div>
253             </div>
254
255             <div class="row">
256                 <div class="col-xs-6">
257                     <label>
258                         <input type="checkbox" ng-change="saveDefaults()" ng-model="defaults.attributes.location"/>
259                         [% l('Shelving Location') %]
260                     </label>
261                 </div>
262                 <div class="col-xs-6">
263                     <h6>[% l('Statistical Categories') %]</h6>
264                 </div>
265             </div>
266
267             <div class="row">
268                 <div class="col-xs-6">
269                     <label>
270                         <input type="checkbox" ng-change="saveDefaults()" ng-model="defaults.attributes.holdable"/>
271                         [% l('Holdable?') %]
272                     </label>
273                 </div>
274                 <div class="col-xs-6">
275                     <label>
276                         <eg-org-selector
277                             selected="defaults.statcat_filter"
278                             noDefault label="[% l('Default Filter Library') %]"
279                         ></eg-org-selector>
280                     </label>
281                 </div>
282             </div>
283
284             <div class="row">
285                 <div class="col-xs-6">
286                     <label>
287                         <input type="checkbox" ng-change="saveDefaults()" ng-model="defaults.attributes.age_protect"/>
288                         [% l('Age-based Hold Protection') %]
289                     </label>
290                 </div>
291                 <div class="col-xs-6">
292                     <label>
293                         <input type="checkbox" ng-change="saveDefaults()" ng-model="defaults.statcats"/>
294                         [% l('Edit Statistical Data') %]
295                     </label>
296                 </div>
297             </div>
298
299             <div class="row">
300                 <div class="col-xs-6">
301                     <label>
302                         <input type="checkbox" ng-change="saveDefaults()" ng-model="defaults.attributes.floating"/>
303                         [% l('Floating') %]
304                     </label>
305                 </div>
306                 <div class="col-xs-6">
307                     <label>
308                         <input type="checkbox" ng-change="saveDefaults()" ng-model="defaults.copy_tags"/>
309                         [% l('Add/Edit Copy Tags') %]
310                     </label>
311                 </div>
312             </div>
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 Copies 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>