Pman.Dialog.XtupleQuickContact.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 12 Nov 2014 03:02:19 +0000 (11:02 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 12 Nov 2014 03:02:19 +0000 (11:02 +0800)
Pman.Dialog.XtupleQuickContact.js

Pman.Dialog.XtupleQuickContact.bjs
Pman.Dialog.XtupleQuickContact.js

index d17919f..7645c1b 100644 (file)
                                     "$ xns" : "Roo.form",
                                     "name" : "cntct_last_name"
                                 },
+                                {
+                                    "xtype" : "Row",
+                                    "labelWidth" : 120,
+                                    "width" : 500,
+                                    "$ xns" : "Roo.form",
+                                    "items" : [
+                                        {
+                                            "listWidth" : 150,
+                                            "triggerAction" : "all",
+                                            "fieldLabel" : "Advalue Currency",
+                                            "selectOnFocus" : true,
+                                            "displayField" : "code",
+                                            "hiddenName" : "orig_advalue_currency",
+                                            "value" : "",
+                                            "valueField" : "code",
+                                            "xtype" : "ComboBox",
+                                            "allowBlank" : true,
+                                            "typeAhead" : false,
+                                            "actionMode" : "fieldEl",
+                                            "editable" : false,
+                                            "width" : 100,
+                                            "$ xns" : "Roo.form",
+                                            "name" : "currency_title",
+                                            "qtip" : "Select Currency",
+                                            "$ store" : "Pman.I18n.currencyStore()"
+                                        },
+                                        {
+                                            "fieldLabel" : "Advalue",
+                                            "xtype" : "NumberField",
+                                            "actionMode" : "fieldEl",
+                                            "allowDecimals" : false,
+                                            "width" : 70,
+                                            "$ xns" : "Roo.form",
+                                            "name" : "orig_advalue"
+                                        }
+                                    ]
+                                },
                                 {
                                     "fieldLabel" : "Phone",
                                     "xtype" : "TextField",
index e613ccc..9f1705e 100644 (file)
@@ -140,6 +140,47 @@ Pman.Dialog.XtupleQuickContact = {
                                     xns : Roo.form,
                                     name : 'cntct_last_name'
                                 },
+                               {
+                                    '|xns' : 'Roo.form',
+                                    xtype : 'Row',
+                                    labelWidth : 120,
+                                    width : 500,
+                                    xns : Roo.form,
+                                    items : [
+                                       {
+                                            '|xns' : 'Roo.form',
+                                            listWidth : 150,
+                                            triggerAction : 'all',
+                                            fieldLabel : 'Advalue Currency',
+                                            selectOnFocus : true,
+                                            displayField : 'code',
+                                            hiddenName : 'orig_advalue_currency',
+                                            value : "",
+                                            valueField : 'code',
+                                            xtype : 'ComboBox',
+                                            allowBlank : true,
+                                            typeAhead : false,
+                                            actionMode : 'fieldEl',
+                                            editable : false,
+                                            width : 100,
+                                            xns : Roo.form,
+                                            name : 'currency_title',
+                                            qtip : "Select Currency",
+                                            store : Pman.I18n.currencyStore()
+                                        },
+                                       {
+                                            '|xns' : 'Roo.form',
+                                            fieldLabel : 'Advalue',
+                                            xtype : 'NumberField',
+                                            actionMode : 'fieldEl',
+                                            allowDecimals : false,
+                                            width : 70,
+                                            xns : Roo.form,
+                                            name : 'orig_advalue'
+                                        }
+                                    ]
+
+                                },
                                {
                                     '|xns' : 'Roo.form',
                                     fieldLabel : 'Phone',