3 "name": "Pman.Tab.XtupleCurrency",
6 "path": "/home/alan/gitlive/web.xtuple/Pman/Xtuple/Pman.Tab.XtupleCurrency.bjs",
10 "xtype": "NestedLayoutPanel",
14 "xtype": "BorderLayout",
20 "xtype": "LayoutRegion",
25 "xtype": "LayoutRegion",
30 "|activate": "function() {\n _this.panel = this;\n if (_this.grid) {\n _this.grid.footer.onClick('first');\n }\n}"
36 "tableName": "curr_symbol",
37 "title": "curr_symbol",
44 "autoExpandColumn": "curr_name",
47 "|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}",
48 "|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"
53 "*prop": "dataSource",
56 "|sortInfo": "{ field : 'curr_name', direction: 'ASC' }",
63 "|url": "baseURL + '/Roo/curr_symbol.php'",
68 "xtype": "JsonReader",
69 "totalProperty": "total",
73 "|fields": "[\n {\n 'name': 'curr_id',\n 'type': 'int'\n },\n {\n 'name': 'curr_base',\n 'type': 'int'\n },\n {\n 'name': 'curr_name',\n 'type': 'string'\n },\n {\n 'name': 'curr_symbol',\n 'type': 'string'\n },\n {\n 'name': 'curr_abbr',\n 'type': 'string'\n }\n]"
79 "xtype": "PagingToolbar",
82 "displayMsg": "Displaying curr_symbol{0} - {1} of {2}",
83 "emptyMsg": "No curr_symbol found",
92 "|xns": "Roo.Toolbar",
98 "cls": "x-btn-text-icon",
99 "|icon": "Roo.rootURL + 'images/default/dd/drop-add.gif'",
101 "|click": "function()\n{\n if (!_this.dialog) return;\n _this.dialog.show( { id : 0 } , function() {\n _this.grid.footer.onClick('first');\n }); \n}\n"
103 "|xns": "Roo.Toolbar"
108 "xtype": "ColumnModel",
109 "header": "Curr base",
111 "dataIndex": "curr_base",
112 "|renderer": "function(v) { return String.format('{0}', v); }",
114 "*prop": "colModel[]"
117 "xtype": "ColumnModel",
118 "header": "Curr name",
120 "dataIndex": "curr_name",
121 "|renderer": "function(v) { return String.format('{0}', v); }",
123 "*prop": "colModel[]"
126 "xtype": "ColumnModel",
127 "header": "Curr symbol",
129 "dataIndex": "curr_symbol",
130 "|renderer": "function(v) { return String.format('{0}', v); }",
132 "*prop": "colModel[]"
135 "xtype": "ColumnModel",
136 "header": "Curr abbr",
138 "dataIndex": "curr_abbr",
139 "|renderer": "function(v) { return String.format('{0}', v); }",
141 "*prop": "colModel[]"
149 "|activate": "function() {\n _this.rpanel = this;\n if (_this.rgrid) {\n _this.rgrid.footer.onClick('first');\n }\n}"
152 "fitContainer": true,
155 "tableName": "curr_rate",
156 "title": "curr_rate",
157 "xtype": "GridPanel",
162 "|render": "function() \n{\n _this.rgrid = this; \n //_this.dialog = Pman.Dialog.FILL_IN\n if (_this.rpanel.active) {\n this.footer.onClick('first');\n }\n}",
163 "|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"
166 "autoExpandColumn": "",
172 "*prop": "dataSource",
175 "|sortInfo": "{ field : '', direction: 'ASC' }",
180 "xtype": "HttpProxy",
182 "|url": "baseURL + '/Roo/curr_rate.php'",
187 "xtype": "JsonReader",
188 "totalProperty": "total",
192 "|fields": "[\n {\n 'name': 'curr_rate_id',\n 'type': 'int'\n },\n {\n 'name': 'curr_id',\n 'type': 'int'\n },\n {\n 'name': 'curr_id',\n 'type': 'int'\n },\n {\n 'name': 'curr_rate',\n 'type': 'float'\n },\n {\n 'name': 'curr_effective',\n 'type': 'date',\n 'dateFormat': 'Y-m-d'\n },\n {\n 'name': 'curr_expires',\n 'type': 'date',\n 'dateFormat': 'Y-m-d'\n }\n]"
198 "xtype": "PagingToolbar",
201 "displayMsg": "Displaying curr_rate{0} - {1} of {2}",
202 "emptyMsg": "No curr_rate found",
211 "|xns": "Roo.Toolbar",
217 "cls": "x-btn-text-icon",
218 "|icon": "Roo.rootURL + 'images/default/dd/drop-add.gif'",
220 "|click": "function()\n{\n if (!_this.dialog) return;\n _this.dialog.show( { id : 0 } , function() {\n _this.grid.footer.onClick('first');\n }); \n}\n"
222 "|xns": "Roo.Toolbar"
227 "xtype": "ColumnModel",
228 "header": "Curr rate",
230 "dataIndex": "curr_rate_id",
231 "|renderer": "function(v) { return String.format('{0}', v); }",
233 "*prop": "colModel[]"
236 "xtype": "ColumnModel",
239 "dataIndex": "curr_id",
240 "|renderer": "function(v) { return String.format('{0}', v); }",
242 "*prop": "colModel[]"
245 "xtype": "ColumnModel",
248 "dataIndex": "curr_id",
249 "|renderer": "function(v) { return String.format('{0}', v); }",
251 "*prop": "colModel[]"
254 "xtype": "ColumnModel",
255 "header": "Curr rate",
257 "dataIndex": "curr_rate",
258 "|renderer": "function(v) { return String.format('{0}', v); }",
260 "*prop": "colModel[]"
263 "xtype": "ColumnModel",
264 "header": "Curr effective",
266 "dataIndex": "curr_effective",
267 "|renderer": "function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); }",
269 "*prop": "colModel[]"
272 "xtype": "ColumnModel",
273 "header": "Curr expires",
275 "dataIndex": "curr_expires",
276 "|renderer": "function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); }",
278 "*prop": "colModel[]"