Fix #7123 - getting abra ready to test
[Pman.Xtuple] / Pman.Dialog.XtupleJournalEntry.bjs
index 8b2a58f..dc059f2 100644 (file)
@@ -1,9 +1,9 @@
 {
-    "id": "roo-file-528",
+    "id": "roo-file-16",
     "name": "Pman.Dialog.XtupleJournalEntry",
     "parent": "",
     "title": "",
-    "path": "/home/alan/gitlive/web.xtuple/Pman/Xtuple/Pman.Dialog.XtupleJournalEntry.bjs",
+    "path": "/home/edward/gitlive/web.xtuple/Pman/Xtuple/Pman.Dialog.XtupleJournalEntry.bjs",
     "items": [
         {
             "closable": false,
@@ -52,6 +52,7 @@
                                         {
                                             "fieldLabel": "Sequence",
                                             "name": "gltrans_sequence",
+                                            "readOnly": true,
                                             "width": 100,
                                             "xtype": "TextField",
                                             "|xns": "Roo.form"
@@ -59,6 +60,7 @@
                                         {
                                             "fieldLabel": "Journal No.",
                                             "name": "gltrans_journalnumber",
+                                            "readOnly": true,
                                             "width": 75,
                                             "xtype": "TextField",
                                             "|xns": "Roo.form"
@@ -87,8 +89,9 @@
                                             "|xns": "Roo.form"
                                         },
                                         {
-                                            "fieldLabel": "Entered",
-                                            "name": "gltrans_entered",
+                                            "fieldLabel": "Created",
+                                            "name": "gltrans_created",
+                                            "readOnly": true,
                                             "width": 150,
                                             "xtype": "TextField",
                                             "|xns": "Roo.form"
                                         {
                                             "boxLabel": "Posted",
                                             "fieldLabel": "Status",
-                                            "inputValue": "true",
-                                            "name": "Posted",
+                                            "name": "gltrans_posted",
                                             "width": 100,
                                             "xtype": "Checkbox",
+                                            "|inputValue": "true",
                                             "|xns": "Roo.form"
                                         },
                                         {
                                                 {
                                                     "boxLabel": "Recorded in Bank Reconcile",
                                                     "fieldLabel": " ",
-                                                    "inputValue": "true",
+                                                    "|inputValue": "true",
                                                     "name": "gltrans_rec",
                                                     "width": 200,
                                                     "xtype": "Checkbox",
                                                 {
                                                     "boxLabel": "Deleted",
                                                     "fieldLabel": "Deleted",
-                                                    "inputValue": "true",
+                                                    "|inputValue": "true",
                                                     "name": "gltrans_deleted",
                                                     "width": 75,
                                                     "xtype": "Checkbox",
                                         {
                                             "fieldLabel": "Source",
                                             "name": "gltrans_source",
+                                            "readOnly": true,
                                             "width": 100,
                                             "xtype": "TextField",
                                             "|xns": "Roo.form"
                                         {
                                             "fieldLabel": "Doc Type",
                                             "name": "gltrans_doctype",
+                                            "readOnly": true,
                                             "width": 100,
                                             "xtype": "TextField",
                                             "|xns": "Roo.form"
                                         {
                                             "fieldLabel": "References",
                                             "name": "gltrans_misc_id",
+                                            "readOnly": true,
                                             "width": 75,
                                             "xtype": "TextField",
                                             "|xns": "Roo.form"
+                                        },
+                                        {
+                                            "text": "Show",
+                                            "xtype": "Button",
+                                            "|xns": "Roo"
                                         }
                                     ]
                                 },
                                 {
-                                    "fieldLabel": "Doc No.",
-                                    "name": "gltrans_docnumber",
-                                    "width": 400,
-                                    "xtype": "TextField",
-                                    "|xns": "Roo.form"
+                                    "|xns": "Roo.form",
+                                    "xtype": "Row",
+                                    "items": [
+                                        {
+                                            "fieldLabel": "Doc No.",
+                                            "name": "gltrans_docnumber",
+                                            "width": 100,
+                                            "xtype": "TextField",
+                                            "|xns": "Roo.form"
+                                        },
+                                        {
+                                            "fieldLabel": "Notes",
+                                            "name": "gltrans_notes",
+                                            "width": 300,
+                                            "xtype": "TextField",
+                                            "|xns": "Roo.form"
+                                        }
+                                    ]
                                 }
                             ]
                         }
                                     "header": "Gltrans amount",
                                     "width": 100,
                                     "xtype": "ColumnModel",
-                                    "|renderer": "function(v) { \n\n    var vv = Roo.util.Format.number(v,2);\n    if (v*1 < 0 ) {\n        return '<span color=\"red\">' + vv + '</span>';\n    }\n    return vv; \n}",
+                                    "|renderer": "function(v) { \n\n    var vv = Roo.util.Format.number(v,2);\n    if (v*1 < 0 ) {\n        return '<span style=\"color:red\">' + vv + '</span>';\n    }\n    return vv; \n}",
                                     "|xns": "Roo.grid"
                                 }
                             ]