3 "name": "Pman.Dialog.XtupleJournalEntry",
6 "path": "/home/alan/gitlive/web.xtuple/Pman/Xtuple/Pman.Dialog.XtupleJournalEntry.bjs",
14 "title": "Create / View Transaction",
16 "xtype": "LayoutDialog",
22 "xtype": "LayoutRegion",
27 "xtype": "LayoutRegion",
32 "xtype": "ContentPanel",
37 "|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",
38 "|rendered": "function (form)\n{\n _this.form= form;\n}\n"
40 "labelAlign": "right",
42 "style": "margin:10px;",
44 "|url": "baseURL + '/Roo/gltrans.php'",
48 "labelAlign": "right",
53 "fieldLabel": "Sequence",
54 "name": "gltrans_sequence",
60 "fieldLabel": "Journal No.",
61 "name": "gltrans_journalnumber",
67 "fieldLabel": "Created By",
68 "name": "gltrans_username",
76 "labelAlign": "right",
83 "name": "gltrans_date",
90 "fieldLabel": "Entered",
91 "name": "gltrans_entered",
103 "boxLabel": "Posted",
104 "fieldLabel": "Status",
116 "boxLabel": "Recorded in Bank Reconcile",
117 "fieldLabel": " ",
118 "name": "gltrans_rec",
124 "boxLabel": "Deleted",
125 "fieldLabel": "Deleted",
126 "name": "gltrans_deleted",
140 "fieldLabel": "Source",
141 "name": "gltrans_source",
143 "xtype": "TextField",
147 "fieldLabel": "Doc Type",
148 "name": "gltrans_doctype",
150 "xtype": "TextField",
154 "fieldLabel": "References",
155 "name": "gltrans_misc_id",
157 "xtype": "TextField",
163 "fieldLabel": "Doc No.",
164 "name": "gltrans_docnumber",
166 "xtype": "TextField",
175 "click": "function (_self, e)\n{\n _this.dialog.hide();\n}"
177 "*prop": "buttons[]",
184 "click": "function (_self, e)\n{\n // do some checks?\n \n \n _this.dialog.el.mask(\"Saving\");\n _this.form.doAction(\"submit\");\n\n}"
186 "*prop": "buttons[]",