Pman.Dialog.CoreCompanies.bjs
authorChris <chris@roojs.com>
Wed, 12 Sep 2012 06:08:25 +0000 (14:08 +0800)
committerChris <chris@roojs.com>
Wed, 12 Sep 2012 06:08:25 +0000 (14:08 +0800)
Pman.Dialog.CoreCompanies.js

Pman.Dialog.CoreCompanies.bjs
Pman.Dialog.CoreCompanies.js

index 64698e6..d8cf05e 100644 (file)
                             "xtype": "Form",
                             "|xns": "Roo.form",
                             "items": [
-                                {
-                                    "allowBlank": false,
-                                    "fieldLabel": "Company ID (for filing Ref.)",
-                                    "name": "code",
-                                    "qtip": "Enter code",
-                                    "width": 100,
-                                    "xtype": "TextField",
-                                    "|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,
-                                    "xtype": "ComboBox",
-                                    "|xns": "Roo.form",
-                                    "items": [
-                                        {
-                                            "*prop": "store",
-                                            "data": "[ 'CONSULTANT', \"Consultant\" ],[ 'CLIENT'    ,  \"Client\" ],[ 'CONTRACTOR' , \"Contractor\" ]",
-                                            "fields": "['val', 'desc']",
-                                            "xtype": "SimpleStore",
-                                            "|xns": "Roo.data"
-                                        }
-                                    ]
-                                },
-                                {
-                                    "allowBlank": true,
-                                    "fieldLabel": "Company Name",
-                                    "name": "name",
-                                    "qtip": "Enter Company Name",
-                                    "width": 300,
-                                    "xtype": "TextField",
-                                    "|xns": "Roo.form"
-                                },
                                 {
                                     "allowBlank": true,
                                     "fieldLabel": "Phone",
index e36c5e6..6923ac4 100644 (file)
@@ -96,48 +96,6 @@ Pman.Dialog.CoreCompanies = {
                             fileUpload : true,
                             labelWidth : 160,
                             items : [
-                                {
-                                    xtype: 'TextField',
-                                    xns: Roo.form,
-                                    allowBlank : false,
-                                    fieldLabel : 'Company ID (for filing Ref.)',
-                                    name : 'code',
-                                    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: 'TextField',
-                                    xns: Roo.form,
-                                    allowBlank : true,
-                                    fieldLabel : 'Company Name',
-                                    name : 'name',
-                                    qtip : "Enter Company Name",
-                                    width : 300
-                                },
                                 {
                                     xtype: 'TextField',
                                     xns: Roo.form,