Fix #7123 - getting abra ready to test
[Pman.Xtuple] / Pman.Dialog.XtupleQuickContact.js
index 9f1705e..cfa925a 100644 (file)
@@ -140,6 +140,14 @@ Pman.Dialog.XtupleQuickContact = {
                                     xns : Roo.form,
                                     name : 'cntct_last_name'
                                 },
+                               {
+                                    '|xns' : 'Roo.form',
+                                    fieldLabel : 'ID Card',
+                                    xtype : 'TextField',
+                                    width : 300,
+                                    xns : Roo.form,
+                                    name : 'cntct_id_card'
+                                },
                                {
                                     '|xns' : 'Roo.form',
                                     xtype : 'Row',
@@ -149,56 +157,43 @@ Pman.Dialog.XtupleQuickContact = {
                                     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,
+                                            xtype : 'Column',
                                             xns : Roo.form,
-                                            name : 'currency_title',
-                                            qtip : "Select Currency",
-                                            store : Pman.I18n.currencyStore()
+                                            items : [
+                                               {
+                                                    '|xns' : 'Roo.form',
+                                                    fieldLabel : 'Phone / Alt',
+                                                    xtype : 'TextField',
+                                                    regex : /^[0-9 +-]+$/,
+                                                    width : 130,
+                                                    xns : Roo.form,
+                                                    name : 'cntct_phone'
+                                                }
+                                            ]
+
                                         },
                                        {
                                             '|xns' : 'Roo.form',
-                                            fieldLabel : 'Advalue',
-                                            xtype : 'NumberField',
-                                            actionMode : 'fieldEl',
-                                            allowDecimals : false,
-                                            width : 70,
+                                            xtype : 'Column',
                                             xns : Roo.form,
-                                            name : 'orig_advalue'
+                                            hideLabels : true,
+                                            style : 'padding-left:10px',
+                                            items : [
+                                               {
+                                                    '|xns' : 'Roo.form',
+                                                    fieldLabel : 'Phone (Alt)',
+                                                    xtype : 'TextField',
+                                                    regex : /^[0-9 +-]+$/,
+                                                    width : 150,
+                                                    xns : Roo.form,
+                                                    name : 'cntct_phone2'
+                                                }
+                                            ]
+
                                         }
                                     ]
 
                                 },
-                               {
-                                    '|xns' : 'Roo.form',
-                                    fieldLabel : 'Phone',
-                                    xtype : 'TextField',
-                                    regex : /^[0-9 +-]+$/,
-                                    width : 150,
-                                    xns : Roo.form,
-                                    name : 'cntct_phone'
-                                },
-                               {
-                                    '|xns' : 'Roo.form',
-                                    fieldLabel : 'Phone (Alt)',
-                                    xtype : 'TextField',
-                                    regex : /^[0-9 +-]+$/,
-                                    width : 150,
-                                    xns : Roo.form,
-                                    name : 'cntct_phone1'
-                                },
                                {
                                     '|xns' : 'Roo.form',
                                     fieldLabel : 'Email',