Pman.Tab.XtupleDashboard.js
},
{
"listeners": {
- "click": "function (_self, e)\n{\n new Pman.Download({\n url :baseURL + '/Xtuple/Reports/StockAtLocation',\n params : _this.dateRange()\n \n });\n Roo.MessageBox.alert(\"Downloading\", \n \"The file will start downloading shortly - it may take around 1-2 minutes to calculate\");\n \n}\n"
+ "click": "function (_self, e)\n{\n new Pman.Download({\n url :baseURL + '/Xtuple/Reports/StockAtLocation',\n params : _this.viewType.dateRange()\n \n });\n Roo.MessageBox.alert(\"Downloading\", \n \"The file will start downloading shortly - it may take around 1-2 minutes to calculate\");\n \n}\n"
},
"text": "Historical Stock Levels (EO HKFY)",
"xtype": "Item",
{
new Pman.Download({
url :baseURL + '/Xtuple/Reports/StockAtLocation',
- params : _this.dateRange()
+ params : _this.viewType.dateRange()
});
Roo.MessageBox.alert("Downloading",