Pman.Tab.XtupleArAging.bjs
authorAlan Knowles <alan@roojs.com>
Thu, 5 Dec 2013 03:17:33 +0000 (11:17 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 5 Dec 2013 03:17:33 +0000 (11:17 +0800)
Pman.Tab.XtupleArAging.js

Pman.Tab.XtupleArAging.bjs
Pman.Tab.XtupleArAging.js

index 460ec53..d6e04f3 100644 (file)
                                             "*prop": "toolbar",
                                             "items": [
                                                 {
-                                                    "|xns": "Roo.form",
-                                                    "xtype": "ComboBox",
                                                     "allowBlank": false,
+                                                    "displayField": "cust_name",
                                                     "editable": true,
-                                                    "emptyText": "Select custinfo",
+                                                    "emptyText": "Select customer",
+                                                    "fieldLabel": "cust_name",
                                                     "forceSelection": true,
+                                                    "hiddenName": "cust_id",
                                                     "listWidth": 400,
                                                     "loadingText": "Searching...",
                                                     "minChars": 2,
+                                                    "name": "cust_name",
                                                     "pageSize": 20,
                                                     "qtip": "Select Customer",
+                                                    "queryParam": "query[cust_name]",
                                                     "selectOnFocus": true,
+                                                    "tpl": "<div class=\"x-grid-cell-text x-btn button\"><b>{cust_name}</b> </div>",
                                                     "triggerAction": "all",
                                                     "typeAhead": true,
-                                                    "width": 300,
-                                                    "tpl": "<div class=\"x-grid-cell-text x-btn button\"><b>{cust_name}</b> </div>",
-                                                    "queryParam": "query[cust_name]",
-                                                    "fieldLabel": "cust_name",
                                                     "valueField": "cust_id",
-                                                    "displayField": "cust_name",
-                                                    "hiddenName": "cust_id",
-                                                    "name": "cust_name",
+                                                    "width": 300,
+                                                    "xtype": "ComboBox",
+                                                    "|xns": "Roo.form",
                                                     "items": [
                                                         {
                                                             "listeners": {
index bd56189..f22b26e 100644 (file)
@@ -236,25 +236,25 @@ Pman.Tab.XtupleArAging = new Roo.XComponent({
                                         xtype: 'ComboBox',
                                         xns: Roo.form,
                                         allowBlank : false,
+                                        displayField : 'cust_name',
                                         editable : true,
-                                        emptyText : "Select custinfo",
+                                        emptyText : "Select customer",
+                                        fieldLabel : 'cust_name',
                                         forceSelection : true,
+                                        hiddenName : 'cust_id',
                                         listWidth : 400,
                                         loadingText : "Searching...",
                                         minChars : 2,
+                                        name : 'cust_name',
                                         pageSize : 20,
                                         qtip : "Select Customer",
+                                        queryParam : 'query[cust_name]',
                                         selectOnFocus : true,
+                                        tpl : '<div class="x-grid-cell-text x-btn button"><b>{cust_name}</b> </div>',
                                         triggerAction : 'all',
                                         typeAhead : true,
-                                        width : 300,
-                                        tpl : '<div class="x-grid-cell-text x-btn button"><b>{cust_name}</b> </div>',
-                                        queryParam : 'query[cust_name]',
-                                        fieldLabel : 'cust_name',
                                         valueField : 'cust_id',
-                                        displayField : 'cust_name',
-                                        hiddenName : 'cust_id',
-                                        name : 'cust_name',
+                                        width : 300,
                                         store : {
                                             xtype: 'Store',
                                             xns: Roo.data,