torsten@472: /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz torsten@472: * Software engineering by Intevation GmbH torsten@472: * torsten@472: * This file is Free Software under the GNU GPL (v>=3) torsten@472: * and comes with ABSOLUTELY NO WARRANTY! Check out raimund@497: * the documentation coming with IMIS-Labordaten-Application for details. torsten@472: */ torsten@472: torsten@350: /* torsten@350: * Formular to create and edit a Status torsten@350: */ torsten@199: Ext.define('Lada.view.status.CreateForm', { torsten@199: extend: 'Lada.view.widgets.LadaForm', raimund@497: requires: [ torsten@199: 'Lada.view.widgets.Mst', raimund@498: 'Lada.view.widgets.Statuswert', raimund@498: 'Lada.view.widgets.Datetime' torsten@199: ], raimund@491: torsten@199: model: 'Lada.model.Status', raimund@491: torsten@199: initComponent: function() { raimund@491: this.items = [{ raimund@491: xtype: 'mst', raimund@491: label: 'Erzeuger', raimund@491: name: 'erzeuger' raimund@491: }, { raimund@491: xtype: 'statuswert', raimund@491: label: 'Status', raimund@491: name: 'status' raimund@491: }, { raimund@491: xtype: 'datetime', raimund@491: label: 'Datum', raimund@491: name: 'datum' raimund@491: }, { raimund@491: xtype: 'textarea', raimund@491: label: 'Kommentar', raimund@491: name: 'kommentar' raimund@491: }]; raimund@491: this.callParent(arguments); torsten@199: } torsten@199: });