3 "name": "Pman.Dialog.XtupleUploadBalances",
6 "path": "/home/edward/gitlive/web.xtuple/Pman/Xtuple/Pman.Dialog.XtupleUploadBalances.bjs",
14 "title": "Upload new Balances",
16 "xtype": "LayoutDialog",
21 "xtype": "LayoutRegion",
26 "xtype": "ContentPanel",
31 "|rendered": "function (form)\n{\n _this.form= form;\n}\n",
32 "actioncomplete": "function(_self,action)\r\n{\r\n if (action.type == 'setdata') {\r\n return;\r\n }\r\n if (action.type == 'load') {\r\n return;\r\n }\r\n if (action.type =='submit') {\r\n \r\n _this.dialog.hide();\r\n\r\n if (_this.callback) {\r\n _this.callback.call(_this, _this.form.getValues());\r\n }\r\n _this.form.reset();\r\n return;\r\n }\r\n}\r"
35 "style": "margin:10px;",
37 "|url": "baseURL + '/Roo/INGORE.php'",
42 "fieldLabel": "Reference",
50 "fieldLabel": "Apply Date",
63 "click": "function (_self, e)\n{\n _this.dialog.hide();\n}"
72 "click": "function (_self, e)\n{\n var ref = _this.form.findField('reference').getValue();\n var d = _this.form.findField('apply_date').getValue();\n \n if(!ref.length || !d){\n Roo.MessageBox.alert(\"Error\", \"Referenct and Apply date must be filled in\");\n return;\n }\n \n _this.dialog.hide();\n \n _this.callback(_this.form.getValues());\n\n}"