3 "name": "Pman.Dialog.XtupleJournalEntry",
6 "path": "/home/alan/gitlive/web.xtuple/Pman/Xtuple/Pman.Dialog.XtupleJournalEntry.bjs",
14 "title": "Edit / Create gltrans",
16 "xtype": "LayoutDialog",
21 "xtype": "LayoutRegion",
26 "xtype": "LayoutRegion",
31 "xtype": "ContentPanel",
36 "|actioncomplete": "function(_self,action)\n{\n if (action.type == 'setdata') {\n //_this.dialog.el.mask(\"Loading\");\n //this.load({ method: 'GET', params: { '_id' : _this.data.id }});\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",
37 "|rendered": "function (form)\n{\n _this.form= form;\n}\n"
39 "labelAlign": "right",
41 "style": "margin:10px;",
43 "|url": "baseURL + '/Roo/gltrans.php'",
47 "labelAlign": "right",
52 "fieldLabel": "Sequence",
53 "name": "gltrans_sequence",
59 "fieldLabel": "Journal No.",
60 "name": "gltrans_journalnumber",
66 "fieldLabel": "Created By",
67 "name": "gltrans_username",
75 "labelAlign": "right",
82 "name": "gltrans_date",
89 "fieldLabel": "Entered",
90 "name": "gltrans_entered",
102 "boxLabel": "Posted",
103 "fieldLabel": "Status",
115 "boxLabel": "Recorded in Bank Reconcile",
116 "fieldLabel": " ",
117 "name": "gltrans_rec",
123 "boxLabel": "Deleted",
124 "fieldLabel": "Deleted",
125 "name": "gltrans_deleted",
139 "fieldLabel": "Source",
140 "name": "gltrans_source",
142 "xtype": "TextField",
146 "fieldLabel": "Doc Type",
147 "name": "gltrans_doctype",
149 "xtype": "TextField",
153 "fieldLabel": "References",
154 "name": "gltrans_misc_id",
156 "xtype": "TextField",
162 "fieldLabel": "Doc No.",
163 "name": "gltrans_docnumber",
165 "xtype": "TextField",
174 "click": "function (_self, e)\n{\n _this.dialog.hide();\n}"
176 "*prop": "buttons[]",
183 "click": "function (_self, e)\n{\n // do some checks?\n \n \n _this.dialog.el.mask(\"Saving\");\n _this.form.doAction(\"submit\");\n\n}"
185 "*prop": "buttons[]",