Pman.Tab.XtupleSalesOrder.js
]
}
]
- },
- {
- "listeners": {
- "click": "function (_self, e)\n{\n var s = _this.grid.getSelectionModel().getSelected();\n if (!s) {\n Roo.MessageBox.alert(\"Error\", \"Select an order\");\n return;\n }\n \n new Pman.Download({\r\n url : baseURL + '/Xtuple/Reports/SalesOrderBookingDetail',\r\n params : {\n cohead_id : s.data.cohead_id\n },\r\n method : 'GET'\r\n });\r\n \n Roo.MessageBox.alert(\"Notice\", \"Report will download shortly\");\n}"
- },
- "text": "Order Booking Detail (Send by Email)",
- "xtype": "Item",
- "|xns": "Roo.menu"
}
]
}
}
]
}
- },
- {
- xtype: 'Item',
- xns: Roo.menu,
- listeners : {
- click : function (_self, e)
- {
- var s = _this.grid.getSelectionModel().getSelected();
- if (!s) {
- Roo.MessageBox.alert("Error", "Select an order");
- return;
- }
-
- new Pman.Download({\r
- url : baseURL + '/Xtuple/Reports/SalesOrderBookingDetail',\r
- params : {
- cohead_id : s.data.cohead_id
- },\r
- method : 'GET'\r
- });\r
-
- Roo.MessageBox.alert("Notice", "Report will download shortly");
- }
- },
- text : "Order Booking Detail (Send by Email)"
}
]
}