Pman.Tab.XtupleMetric.bjs
authorEdward <edward@roojs.com>
Tue, 5 Aug 2014 05:17:30 +0000 (13:17 +0800)
committerEdward <edward@roojs.com>
Tue, 5 Aug 2014 05:17:30 +0000 (13:17 +0800)
Pman.Tab.XtupleMetric.js

Pman.Tab.XtupleMetric.bjs
Pman.Tab.XtupleMetric.js

index c5cff76..98fb818 100644 (file)
                         },
                         {
                             "*prop": "colModel[]",
-                            "dataIndex": "poitem_duedate",
-                            "header": "Due date",
+                            "dataIndex": "metric_module",
+                            "header": "Module",
                             "width": 100,
                             "xtype": "ColumnModel",
                             "|renderer": "function(v) { return String.format('{0}', v ? v.format('Y-m-d') : ''); }",
index 283ee4a..b6b39dc 100644 (file)
@@ -222,8 +222,8 @@ Pman.Tab.XtupleMetric = new Roo.XComponent({
                     {
                         xtype: 'ColumnModel',
                         xns: Roo.grid,
-                        dataIndex : 'poitem_duedate',
-                        header : 'Due date',
+                        dataIndex : 'metric_module',
+                        header : 'Module',
                         width : 100,
                         renderer : function(v) { return String.format('{0}', v ? v.format('Y-m-d') : ''); }
                     },