Fix #7123 - getting abra ready to test
[Pman.Xtuple] / Pman.Dialog.XtupleQuickContact.js
index 1770025..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,21 +157,39 @@ Pman.Dialog.XtupleQuickContact = {
                                     items : [
                                        {
                                             '|xns' : 'Roo.form',
-                                            fieldLabel : 'Phone',
-                                            xtype : 'TextField',
-                                            regex : /^[0-9 +-]+$/,
-                                            width : 150,
+                                            xtype : 'Column',
                                             xns : Roo.form,
-                                            name : 'cntct_phone'
+                                            items : [
+                                               {
+                                                    '|xns' : 'Roo.form',
+                                                    fieldLabel : 'Phone / Alt',
+                                                    xtype : 'TextField',
+                                                    regex : /^[0-9 +-]+$/,
+                                                    width : 130,
+                                                    xns : Roo.form,
+                                                    name : 'cntct_phone'
+                                                }
+                                            ]
+
                                         },
                                        {
                                             '|xns' : 'Roo.form',
-                                            fieldLabel : 'Phone (Alt)',
-                                            xtype : 'TextField',
-                                            regex : /^[0-9 +-]+$/,
-                                            width : 150,
+                                            xtype : 'Column',
                                             xns : Roo.form,
-                                            name : 'cntct_phone1'
+                                            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'
+                                                }
+                                            ]
+
                                         }
                                     ]