From cf0edc72a02c2dac621a938b836a83ffbfed5af2 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 8 May 2014 11:45:39 +0800 Subject: [PATCH] Pman.Tab.XtupleDashboard.bjs Pman.Tab.XtupleDashboard.js --- Pman.Tab.XtupleDashboard.bjs | 2 +- Pman.Tab.XtupleDashboard.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Pman.Tab.XtupleDashboard.bjs b/Pman.Tab.XtupleDashboard.bjs index bcccac2a..a65a320f 100644 --- a/Pman.Tab.XtupleDashboard.bjs +++ b/Pman.Tab.XtupleDashboard.bjs @@ -207,7 +207,7 @@ "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", diff --git a/Pman.Tab.XtupleDashboard.js b/Pman.Tab.XtupleDashboard.js index d2e30ada..4f08e43e 100644 --- a/Pman.Tab.XtupleDashboard.js +++ b/Pman.Tab.XtupleDashboard.js @@ -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() }); -- 2.39.2