Pman.Tab.XtupleDashboard.bjs
authorAlan Knowles <alan@roojs.com>
Thu, 8 May 2014 03:46:16 +0000 (11:46 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 8 May 2014 03:46:16 +0000 (11:46 +0800)
Pman.Tab.XtupleDashboard.js

Pman.Tab.XtupleDashboard.bjs
Pman.Tab.XtupleDashboard.js

index 5a14ab7..12c7051 100644 (file)
                                                                         },
                                                                         {
                                                                             "listeners": {
-                                                                                "click": "function (_self, e)\n{\n    new Pman.Download({\n        url :baseURL + '/Xtuple/Reports/PurchasesByProduct',\n        params :  _this.dateRange()\n    \n    });\n}\n"
+                                                                                "click": "function (_self, e)\n{\n    new Pman.Download({\n        url :baseURL + '/Xtuple/Reports/PurchasesByProduct',\n        params :  _this.viewType.dateRange()\n    \n    });\n}\n"
                                                                             },
                                                                             "text": "Purchases By Product",
                                                                             "xtype": "Item",
index 83339b5..d736abd 100644 (file)
@@ -491,7 +491,7 @@ Pman.Tab.XtupleDashboard = new Roo.XComponent({
                                                                 {
                                                                     new Pman.Download({
                                                                         url :baseURL + '/Xtuple/Reports/PurchasesByProduct',
-                                                                        params :  _this.dateRange()
+                                                                        params :  _this.viewType.dateRange()
                                                                     
                                                                     });
                                                                 }