Pman.Dialog.CoreCompanies.bjs
[Pman.Core] / Pman.Dialog.CoreCompanies.js
index c688f40..572cd09 100644 (file)
@@ -113,30 +113,6 @@ Pman.Dialog.CoreCompanies = {
                                             qtip : "Enter code",
                                             width : 100
                                         },
-                                        {
-                                            xtype: 'ComboBox',
-                                            xns: Roo.form,
-                                            allowBlank : false,
-                                            displayField : 'desc',
-                                            editable : false,
-                                            emptyText : "Select Type",
-                                            fieldLabel : 'Type',
-                                            hiddenName : 'comptype',
-                                            listWidth : 250,
-                                            name : 'comptype_name',
-                                            qtip : "Select Company type",
-                                            selectOnFocus : true,
-                                            triggerAction : 'all',
-                                            typeAhead : false,
-                                            valueField : 'val',
-                                            width : 200,
-                                            store : {
-                                                xtype: 'SimpleStore',
-                                                xns: Roo.data,
-                                                data : '[ \'CONSULTANT\', "Consultant" ],[ \'CLIENT\'    ,  "Client" ],[ \'CONTRACTOR\' , "Contractor" ]',
-                                                fields : '[\'val\', \'desc\']'
-                                            }
-                                        },
                                         {
                                             xtype: 'ComboBox',
                                             xns: Roo.form,
@@ -152,10 +128,10 @@ Pman.Dialog.CoreCompanies = {
                                             },
                                             alwaysQuery : true,
                                             displayField : 'name',
-                                            editable : 'false',
                                             emptyText : "Select Type",
                                             fieldLabel : 'Type',
                                             forceSelection : true,
+                                            hiddenName : 'comptype',
                                             listWidth : 250,
                                             loadingText : "Searching...",
                                             minChars : 2,