Pman.Tab.XtupleArAging.bjs
authorAlan Knowles <alan@roojs.com>
Thu, 5 Dec 2013 03:43:45 +0000 (11:43 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 5 Dec 2013 03:43:45 +0000 (11:43 +0800)
Pman.Tab.XtupleArAging.js

Pman.Tab.XtupleArAging.bjs
Pman.Tab.XtupleArAging.js

index 8ed28c7..940ff7e 100644 (file)
                                             "header": "Date",
                                             "width": 100,
                                             "xtype": "ColumnModel",
-                                            "|renderer": "function(v) { \n    var d = Date.parseDate(v, 'Y-m-d');\n\n    return String.format('{0}', v.format('d/M/Y')); \n}",
+                                            "|renderer": "function(v) { \n    var d = Date.parseDate(v, 'Y-m-d');\n\n    return String.format('{0}', d.format('d/M/Y')); \n}",
                                             "|xns": "Roo.grid"
                                         },
                                         {
index f37ce7f..43834cb 100644 (file)
@@ -353,7 +353,7 @@ Pman.Tab.XtupleArAging = new Roo.XComponent({
                                     renderer : function(v) { 
                                         var d = Date.parseDate(v, 'Y-m-d');
                                     
-                                        return String.format('{0}', v.format('d/M/Y')); 
+                                        return String.format('{0}', d.format('d/M/Y')); 
                                     }
                                 },
                                 {