Mercurial > lada > lada-client
annotate app/view/proben/CreateForm.js @ 273:a282da79cfaa
Added datetimepicker from
http://www.sencha.com/forum/showthread.php?137242-Ext.ux.DateTimeField-DateTimePicker-for-ext4-also-DateTimeMenu-TimePickerField
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Wed, 07 Aug 2013 11:59:50 +0200 |
parents | eda619ad45b0 |
children | dee3e54a61b1 |
rev | line source |
---|---|
67
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
1 Ext.define('Lada.view.proben.CreateForm', { |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
2 extend: 'Lada.view.widgets.LadaForm', |
121
c05fda928b82
Cleanup part two. Reenabled Proben edit but one use minimum version of the probenedit. Move some stores to the combobox definitons
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
91
diff
changeset
|
3 requires: [ |
c05fda928b82
Cleanup part two. Reenabled Proben edit but one use minimum version of the probenedit. Move some stores to the combobox definitons
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
91
diff
changeset
|
4 'Lada.view.widgets.Datenbasis', |
c05fda928b82
Cleanup part two. Reenabled Proben edit but one use minimum version of the probenedit. Move some stores to the combobox definitons
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
91
diff
changeset
|
5 'Lada.view.widgets.Netzbetreiber', |
c05fda928b82
Cleanup part two. Reenabled Proben edit but one use minimum version of the probenedit. Move some stores to the combobox definitons
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
91
diff
changeset
|
6 'Lada.view.widgets.Betriebsart', |
c05fda928b82
Cleanup part two. Reenabled Proben edit but one use minimum version of the probenedit. Move some stores to the combobox definitons
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
91
diff
changeset
|
7 'Lada.view.widgets.Testdatensatz', |
c05fda928b82
Cleanup part two. Reenabled Proben edit but one use minimum version of the probenedit. Move some stores to the combobox definitons
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
91
diff
changeset
|
8 'Lada.view.widgets.Probenart', |
c05fda928b82
Cleanup part two. Reenabled Proben edit but one use minimum version of the probenedit. Move some stores to the combobox definitons
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
91
diff
changeset
|
9 'Lada.view.widgets.Uwb' |
c05fda928b82
Cleanup part two. Reenabled Proben edit but one use minimum version of the probenedit. Move some stores to the combobox definitons
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
91
diff
changeset
|
10 ], |
67
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
11 model: 'Lada.model.Probe', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
12 initComponent: function() { |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
13 this.items = [ |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
14 { |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
15 xtype: 'fieldset', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
16 title: 'Probenangaben', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
17 defaults: { |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
18 labelWidth: 150 |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
19 }, |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
20 items: [ |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
21 { |
82
679dedddb688
Change fieldtype of Messstelle to combobox.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
81
diff
changeset
|
22 xtype: 'mst', |
67
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
23 name: 'mstId', |
80
9dda938db216
Mark field as required.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
79
diff
changeset
|
24 fieldLabel: 'Messstelle', |
9dda938db216
Mark field as required.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
79
diff
changeset
|
25 allowBlank: false |
67
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
26 }, |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
27 { |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
28 xtype: 'textfield', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
29 name: 'hauptprobenNr', |
269
eda619ad45b0
Set maxlength to 20
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
267
diff
changeset
|
30 maxLength: 20, |
67
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
31 fieldLabel: 'Hauptprobennr.' |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
32 }, |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
33 { |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
34 xtype: 'fieldset', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
35 title: 'Erweiterte Probenangaben', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
36 collapsible: true, |
81
1279baefd61a
Do not collapse the fields, as required field should be visible on creation.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
80
diff
changeset
|
37 collapsed: false, |
67
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
38 items: [ |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
39 { |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
40 xtype: 'datenbasis', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
41 id: 'datenbasis', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
42 editable: false, |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
43 name: 'datenbasisId', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
44 fieldLabel: 'Datenbasis' |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
45 }, |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
46 { |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
47 xtype: 'betriebsart', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
48 name: 'baId', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
49 fieldLabel: 'Betriebsart' |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
50 }, |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
51 { |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
52 xtype: 'testdatensatz', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
53 name: 'test', |
128
9b14742a8117
Added allowBlanks to the Form.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
121
diff
changeset
|
54 fieldLabel: 'Testdatensatz', |
9b14742a8117
Added allowBlanks to the Form.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
121
diff
changeset
|
55 allowBlank: false |
67
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
56 }, |
79
9eeddf6e40f7
Fixed fieldnaming.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
78
diff
changeset
|
57 { |
9eeddf6e40f7
Fixed fieldnaming.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
78
diff
changeset
|
58 xtype: 'probenart', |
9eeddf6e40f7
Fixed fieldnaming.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
78
diff
changeset
|
59 id: 'probenart', |
9eeddf6e40f7
Fixed fieldnaming.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
78
diff
changeset
|
60 editable: false, |
9eeddf6e40f7
Fixed fieldnaming.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
78
diff
changeset
|
61 name: 'probenartId', |
9eeddf6e40f7
Fixed fieldnaming.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
78
diff
changeset
|
62 fieldLabel: 'Probenart', |
9eeddf6e40f7
Fixed fieldnaming.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
78
diff
changeset
|
63 allowBlank: false |
9eeddf6e40f7
Fixed fieldnaming.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
78
diff
changeset
|
64 }, |
67
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
65 { |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
66 xtype: 'textfield', |
79
9eeddf6e40f7
Fixed fieldnaming.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
78
diff
changeset
|
67 name: 'probeNehmerId', |
67
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
68 fieldLabel: 'Probennehmer' |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
69 }, |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
70 { |
91
95b08b96f5c9
Added new widget for the netzbetreiber.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
87
diff
changeset
|
71 xtype: 'netzbetreiber', |
87
ee1d1305dcff
Added field for netzbetreiber. Is needed because of FK constraints.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
82
diff
changeset
|
72 name: 'netzbetreiberId', |
ee1d1305dcff
Added field for netzbetreiber. Is needed because of FK constraints.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
82
diff
changeset
|
73 fieldLabel: 'Netzbetreiber', |
91
95b08b96f5c9
Added new widget for the netzbetreiber.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
87
diff
changeset
|
74 editable: false, |
87
ee1d1305dcff
Added field for netzbetreiber. Is needed because of FK constraints.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
82
diff
changeset
|
75 allowBlank: false |
ee1d1305dcff
Added field for netzbetreiber. Is needed because of FK constraints.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
82
diff
changeset
|
76 }, |
ee1d1305dcff
Added field for netzbetreiber. Is needed because of FK constraints.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
82
diff
changeset
|
77 { |
ee1d1305dcff
Added field for netzbetreiber. Is needed because of FK constraints.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
82
diff
changeset
|
78 xtype: 'textfield', |
67
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
79 name: 'x11', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
80 fieldLabel: 'Datensatzerzeuger' |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
81 } |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
82 ] |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
83 } |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
84 ] |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
85 }, |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
86 // Medium |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
87 { |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
88 xtype: 'fieldset', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
89 title: 'Medium', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
90 defaults: { |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
91 labelWidth: 150 |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
92 }, |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
93 items: [ |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
94 { |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
95 xtype: 'uwb', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
96 name: 'umwId', |
80
9dda938db216
Mark field as required.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
79
diff
changeset
|
97 fieldLabel: 'Umweltbereich', |
9dda938db216
Mark field as required.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
79
diff
changeset
|
98 allowBlank: false |
67
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
99 }, |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
100 { |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
101 xtype: 'textfield', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
102 name: 'media', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
103 fieldLabel: 'Medienbezeichnung' |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
104 }, |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
105 { |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
106 xtype: 'textfield', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
107 name: 'mediaDesk', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
108 fieldLabel: 'Deskriptoren' |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
109 }, |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
110 { |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
111 xtype: 'fieldset', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
112 title: 'Details Deskriptoren', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
113 collapsible: true, |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
114 collapsed: true, |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
115 defaultType: 'textfield', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
116 items: this.buildDescriptors() |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
117 } |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
118 ] |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
119 }, |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
120 // Zeit |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
121 { |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
122 xtype: 'fieldset', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
123 title: 'Zeit', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
124 defaultType: 'datefield', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
125 defaults: { |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
126 labelWidth: 150 |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
127 }, |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
128 items: [ |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
129 { |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
130 fieldLabel: 'Probennahme Beginn', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
131 name: 'probeentnahmeBeginn' |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
132 }, |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
133 { |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
134 fieldLabel: 'Probennahme Ende', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
135 name: 'probeentnahmeEnde' |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
136 }, |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
137 { |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
138 fieldLabel: 'Sollzeit Von', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
139 name: 'solldatumBeginn' |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
140 }, |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
141 { |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
142 fieldLabel: 'Sollzeit Bis', |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
143 name: 'solldatumEnde' |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
144 } |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
145 ] |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
146 } |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
147 ]; |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
148 this.callParent(); |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
149 }, |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
150 buildDescriptors: function() { |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
151 var fields = new Array(); |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
152 for ($i=0; $i<12; $i++) { |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
153 fields[$i] = {fieldLabel: 'S'+$i, name: 's'+$i}; |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
154 } |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
155 return fields; |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
156 } |
7ea76e760fc2
Added CreateForm for proben
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
157 }); |