2 "name" : "Pman.Dialog.XtupleBankAccnt",
5 "path" : "/home/alan/gitlive/Pman.Xtuple/Pman.Dialog.XtupleBankAccnt.bjs",
11 "collapsible" : false,
12 "title" : "Edit Bank Account",
13 "xtype" : "LayoutDialog",
21 "xtype" : "LayoutRegion",
27 "xtype" : "ContentPanel",
32 "|actioncomplete" : "function(_self,action)\n{\n if (action.type == 'setdata') {\n \n if(_this.data.id){\n _this.dialog.el.mask(\"Loading\");\n this.load({ method: 'GET', params: { '_id' : _this.data.id }}); \n \n }\n\n return;\n }\n if (action.type == 'load') {\n _this.dialog.el.unmask();\n return;\n }\n if (action.type =='submit') {\n \n _this.dialog.el.unmask();\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",
33 "|rendered" : "function (form)\n{\n _this.form= form;\n}\n"
35 "$ url" : "baseURL + '/Roo/Bankaccnt.php'",
38 "style" : "margin:10px;",
42 "fieldLabel" : "Bank",
43 "emptyText" : "eg. HSBC",
44 "xtype" : "TextField",
49 "name" : "bankaccnt_bankname"
52 "fieldLabel" : "Name",
53 "xtype" : "TextField",
54 "emptyText" : "Automatic",
59 "name" : "bankaccnt_name"
62 "fieldLabel" : "Account No.",
63 "emptyText" : "eg. 1-23-23-23",
64 "xtype" : "TextField",
69 "name" : "bankaccnt_accntnumber"
72 "fieldLabel" : "Description",
73 "xtype" : "TextField",
77 "name" : "bankaccnt_descrip"
82 "name" : "bankaccnt_id"
90 "click" : "function (_self, e)\n{\n _this.dialog.hide();\n}"
95 "* prop" : "buttons[]"
99 "click" : "function (_self, e)\n{\n \n _this.form.doAction(\"submit\");\n\n}"
104 "* prop" : "buttons[]"