[Lada-commits] [PATCH] Add MPL to Messprogramm

Wald Commits scm-commit at wald.intevation.org
Fri Nov 25 10:45:52 CET 2016


# HG changeset patch
# User Evi Huber <ehuber at bfs.de>
# Date 1480067145 -3600
# Node ID 835042fa1a1d1e98829a7504dd134fb40e1b01c5
# Parent  9a428be3907b8a2db8d8392e295dc0fe851722a8
Add MPL to Messprogramm

diff -r 9a428be3907b -r 835042fa1a1d app/model/Messprogramm.js
--- a/app/model/Messprogramm.js	Mon Nov 21 08:07:54 2016 +0100
+++ b/app/model/Messprogramm.js	Fri Nov 25 10:45:45 2016 +0100
@@ -27,6 +27,8 @@
     }, {
         name: 'datenbasisId'
     }, {
+        name: 'mplId'
+    },{
         name: 'baId'
     }, {
         name: 'gemId'
diff -r 9a428be3907b -r 835042fa1a1d app/view/form/Messprogramm.js
--- a/app/view/form/Messprogramm.js	Mon Nov 21 08:07:54 2016 +0100
+++ b/app/view/form/Messprogramm.js	Fri Nov 25 10:45:45 2016 +0100
@@ -19,6 +19,7 @@
         'Lada.view.widget.Netzbetreiber',
         'Lada.view.widget.Betriebsart',
         'Lada.view.widget.Probenart',
+        'Lada.view.widget.MessprogrammLand',
         'Lada.view.widget.Umwelt',
         'Lada.view.widget.base.TextField',
         'Lada.view.widget.base.NumberField',
@@ -389,11 +390,19 @@
                     name: 'probeNehmerId',
                     fieldLabel: i18n.getMsg('probeNehmerId'),
                     margin: '0, 5, 5, 5',
-                    width: '100%',
+                    //width: '100%',
                     minValue: 0,
                     anchor: '100%',
                     labelWidth: 95
                 }, {
+                    xtype: 'messprogrammland',
+                    name: 'mplId',
+                    fieldLabel: 'Messprogramm-Land',
+                    margin: '0, 5, 5, 5',
+                    //width: '100%',
+                    anchor: '100%',
+                    labelWidth: 115
+                }, {
                     xtype: 'textarea',
                     name: 'probeKommentar',
                     labelAlign: 'top',


More information about the Lada-commits mailing list