Pman.Tab.XtupleSalesOrder.bjs
authorEdward <edward@roojs.com>
Mon, 2 Dec 2013 10:59:30 +0000 (18:59 +0800)
committerEdward <edward@roojs.com>
Mon, 2 Dec 2013 10:59:30 +0000 (18:59 +0800)
Pman.Tab.XtupleSalesOrder.js

Pman.Tab.XtupleSalesOrder.bjs
Pman.Tab.XtupleSalesOrder.js

index 0743375..3f2d589 100644 (file)
                                                                             ]
                                                                         }
                                                                     ]
-                                                                },
-                                                                {
-                                                                    "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"
                                                                 }
                                                             ]
                                                         }
index e22e6b3..4351fab 100644 (file)
@@ -609,31 +609,6 @@ Pman.Tab.XtupleSalesOrder = new Roo.XComponent({
                                                             }
                                                         ]
                                                     }
-                                                },
-                                                {
-                                                    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)"
                                                 }
                                             ]
                                         }