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

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

index bcccac2..a65a320 100644 (file)
                                                                     "items": [
                                                                         {
                                                                             "listeners": {
-                                                                                "click": "function (_self, e)\n{\n    new Pman.Download({\n        url :baseURL + '/Xtuple/Reports/SalesByCustomer',\n        params : _this.dateRange()\n         \n    \n    });\n}\n"
+                                                                                "click": "function (_self, e)\n{\n    new Pman.Download({\n        url :baseURL + '/Xtuple/Reports/SalesByCustomer',\n        params : _this.viewType.dateRange()\n         \n    \n    });\n}\n"
                                                                             },
                                                                             "text": "Sales By Customer",
                                                                             "xtype": "Item",
index d2e30ad..4f08e43 100644 (file)
@@ -426,7 +426,7 @@ Pman.Tab.XtupleDashboard = new Roo.XComponent({
                                                                 {
                                                                     new Pman.Download({
                                                                         url :baseURL + '/Xtuple/Reports/SalesByCustomer',
-                                                                        params : _this.dateRange()
+                                                                        params : _this.viewType.dateRange()
                                                                          
                                                                     
                                                                     });