3 "name": "Pman.Dialog.XtupleReconcile",
6 "path": "/home/edward/gitlive/web.xtuple/Pman/Xtuple/Pman.Dialog.XtupleReconcile.bjs",
14 "title": "Reconcile account",
16 "xtype": "LayoutDialog",
21 "xtype": "LayoutRegion",
26 "xtype": "ContentPanel",
31 "|actioncomplete": "function(_self,action)\n{\n if (action.type == 'setdata') {\n\n this.load({ method: 'GET', params: { '_closedata' : _this.data.bankaccnt_id }});\n return;\n }\n if (action.type == 'load') {\n \n return;\n }\n if (action.type =='submit') {\n \n \n _this.dialog.hide();\n \n if (_this.callback) {\n _this.callback.call(_this, _this.form.getValues());\n }\n _this.form.reset();\n return;\n }\n}\n",
32 "|rendered": "function (form)\n{\n _this.form= form;\n}\n",
33 "actionfailed": "function (_self, action)\n{\n\n Roo.MessageBox.alert(\"Error\", \n action.result ? action.result.errorMsg : \"Error posting\"\n );\n \n if (action.type == 'load') {\n _this.dialog.hide();\n return;\n }\n\n\n \n}"
35 "labelAlign": "right",
38 "style": "margin:10px;",
40 "|url": "baseURL + '/Roo/bankrec.php'",
44 "fieldLabel": "Bank Account",
45 "name": "bankrec_bankaccnt_id_bankaccnt_descrip",
52 "fieldLabel": "From date",
54 "name": "bankrec_opendate",
61 "fieldLabel": "End Date",
63 "name": "bankrec_enddate",
70 "fieldLabel": "Opening Balance",
71 "name": "bankrec_openbal",
78 "fieldLabel": "System close balance",
79 "name": "bankrec_endbal_prop",
86 "fieldLabel": "Real close balance",
87 "name": "bankrec_endbal",
100 "name": "bankrec_bankaccnt_id",
106 "name": "bankrec_id",
117 "click": "function (_self, e)\n{\n _this.dialog.hide();\n}"
119 "*prop": "buttons[]",
126 "click": "function (_self, e)\n{\n // do some checks?\n \n \n \n _this.form.doAction(\"submit\");\n\n}"
128 "*prop": "buttons[]",