# HG changeset patch # User Raimund Renkert # Date 1467984977 -7200 # Node ID 6d06ae7c553c22b862241d523c72039b539ce333 # Parent b98e3af27424e61ad29cabceedd4d1c6bc1ec0bc Updated references for new Database model. diff -r b98e3af27424 -r 6d06ae7c553c app/model/MKommentar.js --- a/app/model/MKommentar.js Fri Jun 24 13:47:11 2016 +0200 +++ b/app/model/MKommentar.js Fri Jul 08 15:36:17 2016 +0200 @@ -24,7 +24,7 @@ }, { name: 'messungsId' }, { - name: 'erzeuger' + name: 'mstId' }, { name: 'datum', type: 'date', diff -r b98e3af27424 -r 6d06ae7c553c app/model/Messprogramm.js --- a/app/model/Messprogramm.js Fri Jun 24 13:47:11 2016 +0200 +++ b/app/model/Messprogramm.js Fri Jul 08 15:36:17 2016 +0200 @@ -31,8 +31,6 @@ }, { name: 'laborMstId' }, { - name: 'name' - }, { name: 'datenbasisId' }, { name: 'baId' diff -r b98e3af27424 -r 6d06ae7c553c app/model/MessprogrammKategorie.js --- a/app/model/MessprogrammKategorie.js Fri Jun 24 13:47:11 2016 +0200 +++ b/app/model/MessprogrammKategorie.js Fri Jul 08 15:36:17 2016 +0200 @@ -17,7 +17,7 @@ }, { name: 'netzbetreiberId' }, { - name: 'mplId' + name: 'code' }, { name: 'bezeichnung' }, { diff -r b98e3af27424 -r 6d06ae7c553c app/model/PKommentar.js --- a/app/model/PKommentar.js Fri Jun 24 13:47:11 2016 +0200 +++ b/app/model/PKommentar.js Fri Jul 08 15:36:17 2016 +0200 @@ -24,7 +24,7 @@ }, { name: 'probeId' }, { - name: 'erzeuger' + name: 'mstId' }, { name: 'datum', type: 'date', diff -r b98e3af27424 -r 6d06ae7c553c app/model/Status.js --- a/app/model/Status.js Fri Jun 24 13:47:11 2016 +0200 +++ b/app/model/Status.js Fri Jul 08 15:36:17 2016 +0200 @@ -24,7 +24,7 @@ }, { name: 'messungsId' }, { - name: 'erzeuger' + name: 'mstId' }, { name: 'statusStufe', type: 'int' diff -r b98e3af27424 -r 6d06ae7c553c app/view/grid/MKommentar.js --- a/app/view/grid/MKommentar.js Fri Jun 24 13:47:11 2016 +0200 +++ b/app/view/grid/MKommentar.js Fri Jul 08 15:36:17 2016 +0200 @@ -66,7 +66,7 @@ width: 110 }, { header: 'Erzeuger', - dataIndex: 'erzeuger', + dataIndex: 'mstId', renderer: function(value) { var r = ''; if (!value || value === '') { diff -r b98e3af27424 -r 6d06ae7c553c app/view/grid/MessprogrammKategorie.js --- a/app/view/grid/MessprogrammKategorie.js Fri Jun 24 13:47:11 2016 +0200 +++ b/app/view/grid/MessprogrammKategorie.js Fri Jul 08 15:36:17 2016 +0200 @@ -103,7 +103,7 @@ } }, { header: i18n.getMsg('mplId'), - dataIndex: 'mplId', + dataIndex: 'code', editor: { xtype: 'textfield', maxLength: 3, diff -r b98e3af27424 -r 6d06ae7c553c app/view/grid/PKommentar.js --- a/app/view/grid/PKommentar.js Fri Jun 24 13:47:11 2016 +0200 +++ b/app/view/grid/PKommentar.js Fri Jul 08 15:36:17 2016 +0200 @@ -72,7 +72,7 @@ width: 110 }, { header: 'Erzeuger', - dataIndex: 'erzeuger', + dataIndex: 'mstId', width: 140, renderer: function(value) { var r = ''; diff -r b98e3af27424 -r 6d06ae7c553c app/view/grid/Status.js --- a/app/view/grid/Status.js Fri Jun 24 13:47:11 2016 +0200 +++ b/app/view/grid/Status.js Fri Jul 08 15:36:17 2016 +0200 @@ -85,7 +85,7 @@ sortable: false }, { header: i18n.getMsg('statusgrid.header.erzeuger'), - dataIndex: 'erzeuger', + dataIndex: 'mstId', renderer: function(value) { var r = ''; if (!value || value === '') {