Pman.Tab.XtupleGeneralLedger.bjs
authorAlan Knowles <alan@roojs.com>
Thu, 27 Feb 2014 13:58:56 +0000 (21:58 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 27 Feb 2014 13:58:56 +0000 (21:58 +0800)
Pman.Tab.XtupleGeneralLedger.js

Pman.Tab.XtupleGeneralLedger.bjs
Pman.Tab.XtupleGeneralLedger.js

index 2fe3ac0..dff5e2e 100644 (file)
@@ -1,9 +1,9 @@
 {
-    "id": "roo-file-51",
+    "id": "roo-file-387",
     "name": "Pman.Tab.XtupleGeneralLedger",
     "parent": "Pman.Tab.XtupleAccountsTab",
     "title": "",
-    "path": "/home/edward/gitlive/web.xtuple/Pman/Xtuple/Pman.Tab.XtupleGeneralLedger.bjs",
+    "path": "/home/alan/gitlive/web.xtuple/Pman/Xtuple/Pman.Tab.XtupleGeneralLedger.bjs",
     "items": [
         {
             "background": true,
                                             "|renderer": "function(v,x,r) { \n    return String.format('{0}<br/><i style=\"color:#ccc;\">{1}</i>',\n         v ? v : '', r.data.gltrans_sequence\n     ); \n}",
                                             "|xns": "Roo.grid"
                                         },
+                                        {
+                                            "*prop": "colModel[]",
+                                            "dataIndex": "gltrans_date",
+                                            "header": "Date",
+                                            "sortable": true,
+                                            "width": 100,
+                                            "xtype": "ColumnModel",
+                                            "|renderer": "function(v,x,r) { \n    return String.format('{0}<br/><i style=\"color:#ccc;\">{1}</i>',\n         v ? v : '', r.data.gltrans_sequence\n     ); \n}",
+                                            "|xns": "Roo.grid"
+                                        },
                                         {
                                             "*prop": "colModel[]",
                                             "dataIndex": "gltrans_source",
index b7e4e44..e72b2f5 100644 (file)
@@ -1391,6 +1391,19 @@ Pman.Tab.XtupleGeneralLedger = new Roo.XComponent({
                                          ); 
                                     }
                                 },
+                                {
+                                    xtype: 'ColumnModel',
+                                    xns: Roo.grid,
+                                    dataIndex : 'gltrans_date',
+                                    header : 'Date',
+                                    sortable : true,
+                                    width : 100,
+                                    renderer : function(v,x,r) { 
+                                        return String.format('{0}<br/><i style="color:#ccc;">{1}</i>',
+                                             v ? v : '', r.data.gltrans_sequence
+                                         ); 
+                                    }
+                                },
                                 {
                                     xtype: 'ColumnModel',
                                     xns: Roo.grid,