3 "name": "Pman.Tab.XtupleReports",
4 "parent": "Pman.Tab.Admin",
6 "path": "/home/alan/gitlive/web.xtuple/Pman/Xtuple/Pman.Tab.XtupleReports.bjs",
10 "xtype": "NestedLayoutPanel",
15 "xtype": "BorderLayout",
20 "xtype": "LayoutRegion",
28 "xtype": "LayoutRegion",
37 "tableName": "report",
41 "|activate": "function() {\n _this.panel = this;\n if (_this.grid) {\n _this.grid.footer.onClick('first');\n }\n}"
46 "|render": "function() \n{\n _this.grid = this; \n //_this.dialog = Pman.Dialog.FILL_IN\n if (_this.panel.active) {\n this.footer.onClick('first');\n }\n}",
47 "|rowdblclick": "function (_self, rowIndex, e)\n{\n if (!_this.dialog) return;\n _this.dialog.show( this.getDataSource().getAt(rowIndex).data, function() {\n _this.grid.footer.onClick('first');\n }); \n}\n"
50 "autoExpandColumn": "report_descrip",
56 "*prop": "dataSource",
59 "|sortInfo": "{ field : 'report_name', direction: 'ASC' }",
66 "|url": "baseURL + '/Roo/report.php'",
71 "xtype": "JsonReader",
72 "totalProperty": "total",
76 "|fields": "[\n {\n 'name': 'report_id',\n 'type': 'int'\n },\n {\n 'name': 'report_name',\n 'type': 'string'\n },\n {\n 'name': 'report_sys',\n 'type': 'int'\n },\n {\n 'name': 'report_source',\n 'type': 'string'\n },\n {\n 'name': 'report_descrip',\n 'type': 'string'\n },\n {\n 'name': 'report_grade',\n 'type': 'int'\n },\n {\n 'name': 'report_loaddate',\n 'type': 'date',\n 'dateFormat': 'Y-m-d'\n }\n]"
82 "xtype": "PagingToolbar",
85 "displayMsg": "Displaying report{0} - {1} of {2}",
86 "emptyMsg": "No report found",
96 "render": "function (_self)\n{\n _this.searchName = _self;\n}"
103 "|click": "function (_self, e)\n{\n_this.grid.footer.onClick('first');\n}"
107 "|icon": "rootURL + '/Pman/templates/images/search.gif'",
108 "|xns": "Roo.Toolbar"
112 "|click": "function (_self, e)\n{\n _this.searchBox.setValue('');\n _this.publication_name_combo.setValue('');\n _this.publication_lang_combo.setValue('');\n _this.country_combo.setValue('');\n _this.category_media_id_combo.setValue('');\n _this.role_combo.setValue(''); \n\n \n _this.grid.footer.onClick('first');\n}"
116 "|icon": "rootURL + '/Pman/templates/images/edit-clear.gif'",
117 "|xns": "Roo.Toolbar"
120 "|xns": "Roo.Toolbar",
126 "cls": "x-btn-text-icon",
127 "|icon": "Roo.rootURL + 'images/default/dd/drop-add.gif'",
129 "|click": "function()\n{\n if (!_this.dialog) return;\n _this.dialog.show( { id : 0 } , function() {\n _this.grid.footer.onClick('first');\n }); \n}\n"
131 "|xns": "Roo.Toolbar"
136 "xtype": "ColumnModel",
137 "header": "Report name",
139 "dataIndex": "report_name",
140 "|renderer": "function(v) { return String.format('{0}', v); }",
142 "*prop": "colModel[]"
145 "xtype": "ColumnModel",
146 "header": "Report descrip",
148 "dataIndex": "report_descrip",
149 "|renderer": "function(v) { return String.format('{0}', v); }",
151 "*prop": "colModel[]"
159 "xtype": "GridPanel",
162 "fitContainer": true,
163 "tableName": "report",
167 "|activate": "function() {\n _this.panel = this;\n if (_this.grid) {\n _this.grid.footer.onClick('first');\n }\n}"
173 "autoExpandColumn": "report_name",
176 "|render": "function() \n{\n _this.grid = this; \n //_this.dialog = Pman.Dialog.FILL_IN\n if (_this.panel.active) {\n this.footer.onClick('first');\n }\n}",
177 "|rowdblclick": "function (_self, rowIndex, e)\n{\n if (!_this.dialog) return;\n _this.dialog.show( this.getDataSource().getAt(rowIndex).data, function() {\n _this.grid.footer.onClick('first');\n }); \n}\n"
182 "*prop": "dataSource",
185 "|sortInfo": "{ field : 'report_name', direction: 'ASC' }",
190 "xtype": "HttpProxy",
192 "|url": "baseURL + '/Roo/report.php'",
197 "xtype": "JsonReader",
198 "totalProperty": "total",
202 "|fields": "[\n {\n 'name': 'report_id',\n 'type': 'int'\n },\n {\n 'name': 'report_name',\n 'type': 'string'\n },\n {\n 'name': 'report_sys',\n 'type': 'int'\n },\n {\n 'name': 'report_source',\n 'type': 'string'\n },\n {\n 'name': 'report_descrip',\n 'type': 'string'\n },\n {\n 'name': 'report_grade',\n 'type': 'int'\n },\n {\n 'name': 'report_loaddate',\n 'type': 'date',\n 'dateFormat': 'Y-m-d'\n }\n]"
208 "xtype": "PagingToolbar",
211 "displayMsg": "Displaying report{0} - {1} of {2}",
212 "emptyMsg": "No report found",
216 "xtype": "ColumnModel",
217 "header": "Report grade",
219 "dataIndex": "report_grade",
220 "|renderer": "function(v) { return String.format('{0}', v); }",
222 "*prop": "colModel[]"
225 "xtype": "ColumnModel",
226 "header": "Report loaddate",
228 "dataIndex": "report_loaddate",
229 "|renderer": "function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); }",
231 "*prop": "colModel[]"