Fix #7123 - getting abra ready to test
[Pman.Xtuple] / Pman.Dialog.XtupleQuickContact.js
index e613ccc..cfa925a 100644 (file)
@@ -142,21 +142,57 @@ Pman.Dialog.XtupleQuickContact = {
                                 },
                                {
                                     '|xns' : 'Roo.form',
-                                    fieldLabel : 'Phone',
+                                    fieldLabel : 'ID Card',
                                     xtype : 'TextField',
-                                    regex : /^[0-9 +-]+$/,
-                                    width : 150,
+                                    width : 300,
                                     xns : Roo.form,
-                                    name : 'cntct_phone'
+                                    name : 'cntct_id_card'
                                 },
                                {
                                     '|xns' : 'Roo.form',
-                                    fieldLabel : 'Phone (Alt)',
-                                    xtype : 'TextField',
-                                    regex : /^[0-9 +-]+$/,
-                                    width : 150,
+                                    xtype : 'Row',
+                                    labelWidth : 120,
+                                    width : 500,
                                     xns : Roo.form,
-                                    name : 'cntct_phone1'
+                                    items : [
+                                       {
+                                            '|xns' : 'Roo.form',
+                                            xtype : 'Column',
+                                            xns : Roo.form,
+                                            items : [
+                                               {
+                                                    '|xns' : 'Roo.form',
+                                                    fieldLabel : 'Phone / Alt',
+                                                    xtype : 'TextField',
+                                                    regex : /^[0-9 +-]+$/,
+                                                    width : 130,
+                                                    xns : Roo.form,
+                                                    name : 'cntct_phone'
+                                                }
+                                            ]
+
+                                        },
+                                       {
+                                            '|xns' : 'Roo.form',
+                                            xtype : 'Column',
+                                            xns : Roo.form,
+                                            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',