diff app/view/proben/Edit.js @ 22:0a4674f17bcb

Added more fields to the overview and set correct reference in on the edit page.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 07 May 2013 17:09:00 +0200
parents a05625ae08b1
children f964a50bfe57
line wrap: on
line diff
--- a/app/view/proben/Edit.js	Tue May 07 17:08:08 2013 +0200
+++ b/app/view/proben/Edit.js	Tue May 07 17:09:00 2013 +0200
@@ -23,17 +23,17 @@
                         items: [
                             {
                                 xtype: 'textfield',
-                                name: 'x1',
+                                name: 'mstId',
                                 fieldLabel: 'Messstelle'
                             },
                             {
                                 xtype: 'textfield',
-                                name: 'x2',
+                                name: 'hauptprobenNr',
                                 fieldLabel: 'Hauptprobennr.'
                             },
                             {
                                 xtype: 'textfield',
-                                name: 'x3',
+                                name: 'probeId',
                                 fieldLabel: 'Probe-ID'
                             },
                             {
@@ -54,12 +54,12 @@
                                     },
                                     {
                                         xtype: 'textfield',
-                                        name: 'x6',
+                                        name: 'test',
                                         fieldLabel: 'Testdatensatz'
                                     },
                                     {
                                         xtype: 'textfield',
-                                        name: 'x7',
+                                        name: 'probenartId',
                                         fieldLabel: 'Probenart'
                                     },
                                     {
@@ -74,7 +74,7 @@
                                     },
                                     {
                                         xtype: 'textfield',
-                                        name: 'x10',
+                                        name: 'probenartId',
                                         fieldLabel: 'Probennehmer'
                                     },
                                     {
@@ -96,17 +96,17 @@
                         items: [
                                 {
                                     xtype: 'textfield',
-                                    name: 'x12',
+                                    name: 'umwId',
                                     fieldLabel: 'Umweltbereich'
                                 },
                                 {
                                     xtype: 'textfield',
-                                    name: 'x13',
+                                    name: 'media',
                                     fieldLabel: 'Medienbezeichnung'
                                 },
                                 {
                                     xtype: 'textfield',
-                                    name: 'x14',
+                                    name: 'mediaDesk',
                                     fieldLabel: 'Deskriptoren'
                                 },
                                 {
@@ -130,19 +130,19 @@
                         items: [
                             {
                                 fieldLabel: 'Probennahme Beginn',
-                                name: 'z1'
+                                name: 'probeentnahmeBeginn'
                             },
                             {
                                 fieldLabel: 'Probennahme Ende',
-                                name: 'z2'
+                                name: 'probeentnahmeEnde'
                             },
                             {
                                 fieldLabel: 'Sollzeit Von',
-                                name: 'z3'
+                                name: 'solldatumBeginn'
                             },
                             {
                                 fieldLabel: 'Sollzeit Bis',
-                                name: 'z4'
+                                name: 'solldatumEnde'
                             },
                             {
                                 fieldLabel: 'Ursprungszeit',
@@ -369,3 +369,4 @@
         return fields;
     }
 });
+

http://lada.wald.intevation.org