Fix #7123 - getting abra ready to test
[Pman.Xtuple] / Pman.Dialog.XtupleJournalEntry.js
index adef93b..635c66f 100644 (file)
@@ -147,9 +147,9 @@ Pman.Dialog.XtupleJournalEntry = {
                                             xns: Roo.form,
                                             boxLabel : 'Posted',
                                             fieldLabel : 'Status',
-                                            inputValue : true,
-                                            name : 'Posted',
-                                            width : 100
+                                            name : 'gltrans_posted',
+                                            width : 100,
+                                            inputValue : true
                                         },
                                         {
                                             xtype: 'Row',
@@ -214,11 +214,24 @@ Pman.Dialog.XtupleJournalEntry = {
                                     ]
                                 },
                                 {
-                                    xtype: 'TextField',
+                                    xtype: 'Row',
                                     xns: Roo.form,
-                                    fieldLabel : 'Doc No.',
-                                    name : 'gltrans_docnumber',
-                                    width : 400
+                                    items : [
+                                        {
+                                            xtype: 'TextField',
+                                            xns: Roo.form,
+                                            fieldLabel : 'Doc No.',
+                                            name : 'gltrans_docnumber',
+                                            width : 100
+                                        },
+                                        {
+                                            xtype: 'TextField',
+                                            xns: Roo.form,
+                                            fieldLabel : 'Notes',
+                                            name : 'gltrans_notes',
+                                            width : 300
+                                        }
+                                    ]
                                 }
                             ]
                         }
@@ -442,7 +455,7 @@ Pman.Dialog.XtupleJournalEntry = {
                                 
                                     var vv = Roo.util.Format.number(v,2);
                                     if (v*1 < 0 ) {
-                                        return '<span color="red">' + vv + '</span>';
+                                        return '<span style="color:red">' + vv + '</span>';
                                     }
                                     return vv; 
                                 }