changeset 1258:835042fa1a1d

Add MPL to Messprogramm
author Evi Huber <ehuber@bfs.de>
date Fri, 25 Nov 2016 10:45:45 +0100
parents 9a428be3907b
children bfdd875cdb5f
files app/model/Messprogramm.js app/view/form/Messprogramm.js
diffstat 2 files changed, 12 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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'
--- 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',

http://lada.wald.intevation.org