3 "name": "Pman.Tab.AdminLogDrill",
4 "parent": "Pman.Tab.AdminLogs",
5 "title": "Pman.Tab.AdminLogDrill",
6 "path": "/home/alan/gitlive/Pman.Admin/Pman.Tab.AdminLogDrill.bjs",
11 "title": "Event Drilldown",
12 "xtype": "NestedLayoutPanel",
27 "render": "function (_self)\n{\n _this.dateFrom = _self;\n}",
28 "change": "function (_self, newValue, oldValue)\n{\n _this.dategrid.ds.load({});\n}"
32 "|value": "(function() { var d = new Date(); return d.format('Y-m-01'); })()",
37 "render": "function (_self)\n{\n _this.dateTo = _self;\n}",
38 "change": "function (_self, newValue, oldValue)\n{\n _this.dategrid.ds.load({});\n}"
41 "|value": "(function() { var d = new Date();d = d.add(Date.MONTH, 1) ; return d.format('Y-m-01'); })()",
47 "|select": "function (combo, record, index)\n{\n _this.dategrid.ds.load({});\n}",
48 "|render": "function (_self)\n{\n _this.actionSel = _self;\n}"
51 "displayField": "action",
53 "emptyText": "Select Action",
54 "forceSelection": true,
56 "loadingText": "Searching...",
60 "qtip": "Select Action",
61 "queryParam": "query[action]",
62 "selectOnFocus": true,
63 "tpl": "<div class=\"x-grid-cell-text x-btn button\"><b>{action}</b> </div>",
64 "triggerAction": "all",
66 "valueField": "action",
73 "|beforeload": "function (_self, o)\n{\n o.params = o.params || {};\n // staff can see all logs, other companies can only see their own.\n if (Pman.Login.authUser.company_id_comptype != 'OWNER') {\n o.params.company_id = Pman.Login.authUser.company_id;\n }\n o.params._distinct = 'action';\n o.params._columns ='action';\n}"
78 "|sortInfo": "{ field : 'action' , direction : 'ASC' }",
85 "|url": "baseURL + '/Roo/Events.php'",
90 "xtype": "JsonReader",
91 "totalProperty": "total",
95 "|fields": "[\n {\n 'name': 'id',\n 'type': 'int'\n },\n {\n 'name': 'person_name',\n 'type': 'string'\n },\n {\n 'name': 'event_when',\n 'type': 'date',\n 'dateFormat': 'Y-m-d'\n },\n {\n 'name': 'action',\n 'type': 'string'\n },\n {\n 'name': 'ipaddr',\n 'type': 'string'\n },\n {\n 'name': 'on_id',\n 'type': 'int'\n },\n {\n 'name': 'on_table',\n 'type': 'string'\n },\n {\n 'name': 'person_id',\n 'type': 'int'\n },\n {\n 'name': 'remarks',\n 'type': 'string'\n },\n {\n 'name': 'person_id_id',\n 'type': 'int'\n },\n {\n 'name': 'person_id_office_id',\n 'type': 'int'\n },\n {\n 'name': 'person_id_name',\n 'type': 'string'\n },\n {\n 'name': 'person_id_phone',\n 'type': 'string'\n },\n {\n 'name': 'person_id_fax',\n 'type': 'string'\n },\n {\n 'name': 'person_id_email',\n 'type': 'string'\n },\n {\n 'name': 'person_id_company_id',\n 'type': 'int'\n },\n {\n 'name': 'person_id_role',\n 'type': 'string'\n },\n {\n 'name': 'person_id_active',\n 'type': 'int'\n },\n {\n 'name': 'person_id_remarks',\n 'type': 'string'\n },\n {\n 'name': 'person_id_passwd',\n 'type': 'string'\n },\n {\n 'name': 'person_id_owner_id',\n 'type': 'int'\n },\n {\n 'name': 'person_id_lang',\n 'type': 'string'\n },\n {\n 'name': 'person_id_no_reset_sent',\n 'type': 'int'\n },\n {\n 'name': 'person_id_action_type',\n 'type': 'string'\n },\n {\n 'name': 'person_id_project_id',\n 'type': 'int'\n },\n {\n 'name': 'person_id_deleted_by',\n 'type': 'int'\n },\n {\n 'name': 'person_id_deleted_dt',\n 'type': 'date'\n }\n]"
103 "|select": "function (combo, record, index)\n{\n _this.dategrid.ds.load({});\n}",
104 "|render": "function (_self)\n{\n _this.affectSel = _self;\n}"
107 "displayField": "on_table",
109 "emptyText": "Select Affects",
110 "forceSelection": true,
112 "loadingText": "Searching...",
116 "qtip": "Select Action",
117 "queryParam": "query[on_table]",
118 "selectOnFocus": true,
119 "tpl": "<div class=\"x-grid-cell-text x-btn button\"><b>{on_table}</b> </div>",
120 "triggerAction": "all",
122 "valueField": "action",
129 "|beforeload": "function (_self, o)\n{\n o.params = o.params || {};\n // staff can see all logs, other companies can only see their own.\n if (Pman.Login.authUser.company_id_comptype != 'OWNER') {\n o.params.company_id = Pman.Login.authUser.company_id;\n }\n o.params._distinct = 'on_table';\n o.params._columns ='on_table';\n}"
134 "|sortInfo": "{ field : 'on_table' , direction : 'ASC' }",
140 "xtype": "HttpProxy",
141 "|url": "baseURL + '/Roo/Events.php'",
146 "xtype": "JsonReader",
147 "totalProperty": "total",
151 "|fields": "[\n {\n 'name': 'id',\n 'type': 'int'\n },\n {\n 'name': 'person_name',\n 'type': 'string'\n },\n {\n 'name': 'event_when',\n 'type': 'date',\n 'dateFormat': 'Y-m-d'\n },\n {\n 'name': 'action',\n 'type': 'string'\n },\n {\n 'name': 'ipaddr',\n 'type': 'string'\n },\n {\n 'name': 'on_id',\n 'type': 'int'\n },\n {\n 'name': 'on_table',\n 'type': 'string'\n },\n {\n 'name': 'person_id',\n 'type': 'int'\n },\n {\n 'name': 'remarks',\n 'type': 'string'\n },\n {\n 'name': 'person_id_id',\n 'type': 'int'\n },\n {\n 'name': 'person_id_office_id',\n 'type': 'int'\n },\n {\n 'name': 'person_id_name',\n 'type': 'string'\n },\n {\n 'name': 'person_id_phone',\n 'type': 'string'\n },\n {\n 'name': 'person_id_fax',\n 'type': 'string'\n },\n {\n 'name': 'person_id_email',\n 'type': 'string'\n },\n {\n 'name': 'person_id_company_id',\n 'type': 'int'\n },\n {\n 'name': 'person_id_role',\n 'type': 'string'\n },\n {\n 'name': 'person_id_active',\n 'type': 'int'\n },\n {\n 'name': 'person_id_remarks',\n 'type': 'string'\n },\n {\n 'name': 'person_id_passwd',\n 'type': 'string'\n },\n {\n 'name': 'person_id_owner_id',\n 'type': 'int'\n },\n {\n 'name': 'person_id_lang',\n 'type': 'string'\n },\n {\n 'name': 'person_id_no_reset_sent',\n 'type': 'int'\n },\n {\n 'name': 'person_id_action_type',\n 'type': 'string'\n },\n {\n 'name': 'person_id_project_id',\n 'type': 'int'\n },\n {\n 'name': 'person_id_deleted_by',\n 'type': 'int'\n },\n {\n 'name': 'person_id_deleted_dt',\n 'type': 'date'\n }\n]"
161 "xtype": "BorderLayout",
168 "xtype": "LayoutRegion",
173 "xtype": "LayoutRegion",
179 "tabPosition": "top",
181 "xtype": "LayoutRegion",
186 "|activate": "function() {\n _this.datepanel = this;\n if (_this.dategrid) {\n _this.dategrid.ds.load({});\n }\n}"
189 "fitContainer": true,
192 "tableName": "Events",
194 "xtype": "GridPanel",
199 "|render": "function() \n{\n _this.dategrid = this; \n //_this.dialog = Pman.Dialog.FILL_IN\n if (_this.panel.active) {\n this.ds.load({});\n }\n}",
200 "rowclick": "function (_self, rowIndex, e)\n{\n _this.tablegrid.footer.onClick('first');\n}"
203 "autoExpandColumn": "person_name",
210 "beforeload": "function (_self, o)\n{\n \n \n if (! _this.dateFrom) {\n return;\n }\n\n try {\n _this.tablegrid.ds.removeAll();\n _this.panel.layout.getRegion('east').getActivePanel().grid.ds.removeAll();\n \n } catch (e) {\n // do nothing..\n }\n o.params = o.params || {};\n \n var act = _this.actionSel ? _this.actionSel.getValue() : '';\n if (act.length) {\n o.params.action = act;\n }\n var tbl = _this.affectSel ? _this.affectSel.getValue() : '';\n if (tbl.length) {\n o.params.on_table = tbl;\n }\n act = _this.dateFrom.getValue();\n if (act.format) {\n o.params['query[from]'] = act.format('Y-m-d');\n }\n act = _this.dateTo.getValue();\n if (act.format) {\n o.params['query[to]'] = act.format('Y-m-d');\n }\n \n \n \n o.params['query[person_sum]'] = 1;\n o.params._columns = 'person_id,person_id_name,person_id_email,qty,uqty';\n o.params.limit = 999;\n \n}"
212 "*prop": "dataSource",
215 "|sortInfo": "{ field : 'person_id_name', direction: 'ASC' }",
220 "xtype": "HttpProxy",
222 "|url": "baseURL + '/Roo/Events.php'",
227 "xtype": "JsonReader",
228 "totalProperty": "total",
232 "|fields": "[\n {\n 'name': 'id',\n 'type': 'int'\n },\n {\n 'name': 'person_name',\n 'type': 'string'\n },\n {\n 'name': 'event_when',\n 'type': 'date',\n 'dateFormat': 'Y-m-d'\n },\n {\n 'name': 'action',\n 'type': 'string'\n },\n {\n 'name': 'ipaddr',\n 'type': 'string'\n },\n {\n 'name': 'on_id',\n 'type': 'int'\n },\n {\n 'name': 'on_table',\n 'type': 'string'\n },\n {\n 'name': 'person_id',\n 'type': 'int'\n },\n {\n 'name': 'remarks',\n 'type': 'string'\n },\n {\n 'name': 'person_id_id',\n 'type': 'int'\n },\n {\n 'name': 'person_id_office_id',\n 'type': 'int'\n },\n {\n 'name': 'person_id_name',\n 'type': 'string'\n },\n {\n 'name': 'person_id_phone',\n 'type': 'string'\n },\n {\n 'name': 'person_id_fax',\n 'type': 'string'\n },\n {\n 'name': 'person_id_email',\n 'type': 'string'\n },\n {\n 'name': 'person_id_company_id',\n 'type': 'int'\n },\n {\n 'name': 'person_id_role',\n 'type': 'string'\n },\n {\n 'name': 'person_id_active',\n 'type': 'int'\n },\n {\n 'name': 'person_id_remarks',\n 'type': 'string'\n },\n {\n 'name': 'person_id_passwd',\n 'type': 'string'\n },\n {\n 'name': 'person_id_owner_id',\n 'type': 'int'\n },\n {\n 'name': 'person_id_lang',\n 'type': 'string'\n },\n {\n 'name': 'person_id_no_reset_sent',\n 'type': 'int'\n },\n {\n 'name': 'person_id_action_type',\n 'type': 'string'\n },\n {\n 'name': 'person_id_project_id',\n 'type': 'int'\n },\n {\n 'name': 'person_id_deleted_by',\n 'type': 'int'\n },\n {\n 'name': 'person_id_deleted_dt',\n 'type': 'date'\n }\n]"
237 "*prop": "colModel[]",
238 "dataIndex": "person_id_name",
239 "header": "Person name",
242 "xtype": "ColumnModel",
243 "|renderer": "function(v,x,r) {\n return String.format('{0} <<a href=\"mailto:{1}\">{1}</a>>', v, r.data.person_id_email); \n }",
247 "*prop": "colModel[]",
249 "header": "#Affected",
252 "xtype": "ColumnModel",
253 "|renderer": "function(v) { return String.format('{0}', v); }",
257 "*prop": "colModel[]",
262 "xtype": "ColumnModel",
263 "|renderer": "function(v) { return String.format('{0}', v); }",
272 "|activate": "function() {\n _this.tablepanel = this;\n if (_this.tablegrid) {\n _this.tablegrid.footer.onClick('first');\n }\n}"
275 "fitContainer": true,
278 "tableName": "Events",
280 "xtype": "GridPanel",
285 "|render": "function() \n{\n _this.tablegrid = this; \n //_this.dialog = Pman.Dialog.FILL_IN\n if (_this.tablepanel.active) {\n this.footer.onClick('first');\n }\n}",
286 "rowclick": "function (_self, rowIndex, e)\n{\n \n _this.panel.layout.getRegion('east').getActivePanel().grid.footer.onClick('first');\n}"
289 "autoExpandColumn": "person_name",
296 "beforeload": "function (_self, o)\n{\n if (! _this.dategrid) {\n return;\n }\n try {\n _this.panel.layout.getRegion('east').getActivePanel().grid.ds.removeAll();\n \n } catch (e) {\n // do nothing..\n }\n \n var s = _this.dategrid.selModel.getSelected();\n if (!s) {\n _this.tablegrid.view.el.mask(\"Select a person\");\n return false;\n }\n _this.tablegrid.view.el.unmask();\n \n o.params = o.params || {};\n var act = _this.actionSel.getValue();\n if (act.length) {\n o.params.action = act;\n }\n var tbl = _this.affectSel.getValue();\n if (tbl.length) {\n o.params.on_table = tbl;\n }\n \n act = _this.dateFrom.getValue();\n if (act.format) {\n o.params['query[from]'] = act.format('Y-m-d');\n }\n act = _this.dateTo.getValue();\n if (act.format) {\n o.params['query[to]'] = act.format('Y-m-d');\n }\n o.params.person_id = s.data.person_id;\n o.params['query[table_sum]'] = 1;\n o.params._columns = 'on_table,qty,uqty';\n\n \n}"
298 "*prop": "dataSource",
301 "|sortInfo": "{ field : 'on_table', direction: 'ASC' }",
306 "xtype": "HttpProxy",
308 "|url": "baseURL + '/Roo/Events.php'",
313 "xtype": "JsonReader",
314 "totalProperty": "total",
318 "|fields": "[\n {\n 'name': 'id',\n 'type': 'int'\n },\n {\n 'name': 'person_name',\n 'type': 'string'\n },\n {\n 'name': 'event_when',\n 'type': 'date',\n 'dateFormat': 'Y-m-d'\n },\n {\n 'name': 'action',\n 'type': 'string'\n },\n {\n 'name': 'ipaddr',\n 'type': 'string'\n },\n {\n 'name': 'on_id',\n 'type': 'int'\n },\n {\n 'name': 'on_table',\n 'type': 'string'\n },\n {\n 'name': 'person_id',\n 'type': 'int'\n },\n {\n 'name': 'remarks',\n 'type': 'string'\n },\n {\n 'name': 'person_id_id',\n 'type': 'int'\n },\n {\n 'name': 'person_id_office_id',\n 'type': 'int'\n },\n {\n 'name': 'person_id_name',\n 'type': 'string'\n },\n {\n 'name': 'person_id_phone',\n 'type': 'string'\n },\n {\n 'name': 'person_id_fax',\n 'type': 'string'\n },\n {\n 'name': 'person_id_email',\n 'type': 'string'\n },\n {\n 'name': 'person_id_company_id',\n 'type': 'int'\n },\n {\n 'name': 'person_id_role',\n 'type': 'string'\n },\n {\n 'name': 'person_id_active',\n 'type': 'int'\n },\n {\n 'name': 'person_id_remarks',\n 'type': 'string'\n },\n {\n 'name': 'person_id_passwd',\n 'type': 'string'\n },\n {\n 'name': 'person_id_owner_id',\n 'type': 'int'\n },\n {\n 'name': 'person_id_lang',\n 'type': 'string'\n },\n {\n 'name': 'person_id_no_reset_sent',\n 'type': 'int'\n },\n {\n 'name': 'person_id_action_type',\n 'type': 'string'\n },\n {\n 'name': 'person_id_project_id',\n 'type': 'int'\n },\n {\n 'name': 'person_id_deleted_by',\n 'type': 'int'\n },\n {\n 'name': 'person_id_deleted_dt',\n 'type': 'date'\n }\n]"
324 "xtype": "PagingToolbar",
327 "displayMsg": "Displaying Events{0} - {1} of {2}",
328 "emptyMsg": "No Events found",
332 "*prop": "colModel[]",
333 "dataIndex": "on_table",
337 "xtype": "ColumnModel",
338 "|renderer": "function(v) { \n if (!v.length) {\n return \"Login / Logout / Errors\";\n }\n return String.format('{0}', v); \n}",
342 "*prop": "colModel[]",
344 "header": "#Affected",
347 "xtype": "ColumnModel",
348 "|renderer": "function(v) { return String.format('{0}', v); }",
352 "*prop": "colModel[]",
357 "xtype": "ColumnModel",
358 "|renderer": "function(v) { return String.format('{0}', v); }",
367 "|activate": "function() {\n _this.detailpanel = this;\n if (_this.detailgrid) {\n _this.detailgrid.footer.onClick('first');\n }\n}"
370 "fitContainer": true,
373 "tableName": "Events",
375 "xtype": "GridPanel",
380 "|render": "function() \n{\n _this.detailgrid = this; \n //_this.dialog = Pman.Dialog.FILL_IN\n if (_this.detailpanel.active) {\n this.footer.onClick('first');\n }\n}"
383 "autoExpandColumn": "person_name",
390 "beforeload": "function (_self, o)\n{\n if (! _this.dategrid) {\n return false;\n }\n \n o.params = o.params || {};\n \n var s = _this.dategrid.selModel.getSelected();\n if (!s) {\n _this.detailgrid.view.el.mask(\"Select a person\");\n return false;\n }\n \n o.params.person_id = s.data.person_id; \n \n var s = _this.tablegrid.selModel.getSelected();\n if (!s) {\n _this.detailgrid.view.el.mask(\"Select a table\");\n return false;\n }\n o.params.on_table = s.data.on_table; \n \n _this.detailgrid.view.el.unmask();\n \n var act = _this.actionSel.getValue();\n if (act.length) {\n o.params.action = act;\n }\n var tbl = _this.affectSel.getValue();\n if (tbl.length) {\n o.params.on_table = tbl;\n }\n \n \n act = _this.dateFrom.getValue();\n if (act.format) {\n o.params['query[from]'] = act.format('Y-m-d');\n }\n act = _this.dateTo.getValue();\n if (act.format) {\n o.params['query[to]'] = act.format('Y-m-d');\n }\n\n //o.params['query[table_d]'] = 1;\n //o.params._columns = 'on_table,qty,uqty';\n\n \n}"
392 "*prop": "dataSource",
395 "|sortInfo": "{ field : 'event_when', direction: 'DESC' }",
400 "xtype": "HttpProxy",
402 "|url": "baseURL + '/Roo/Events.php'",
407 "xtype": "JsonReader",
408 "totalProperty": "total",
412 "|fields": "[\n {\n 'name': 'id',\n 'type': 'int'\n },\n {\n 'name': 'person_name',\n 'type': 'string'\n },\n {\n 'name': 'event_when',\n 'type': 'date',\n 'dateFormat': 'Y-m-d'\n },\n {\n 'name': 'action',\n 'type': 'string'\n },\n {\n 'name': 'ipaddr',\n 'type': 'string'\n },\n {\n 'name': 'on_id',\n 'type': 'int'\n },\n {\n 'name': 'on_table',\n 'type': 'string'\n },\n {\n 'name': 'person_id',\n 'type': 'int'\n },\n {\n 'name': 'remarks',\n 'type': 'string'\n },\n {\n 'name': 'person_id_id',\n 'type': 'int'\n },\n {\n 'name': 'person_id_office_id',\n 'type': 'int'\n },\n {\n 'name': 'person_id_name',\n 'type': 'string'\n },\n {\n 'name': 'person_id_phone',\n 'type': 'string'\n },\n {\n 'name': 'person_id_fax',\n 'type': 'string'\n },\n {\n 'name': 'person_id_email',\n 'type': 'string'\n },\n {\n 'name': 'person_id_company_id',\n 'type': 'int'\n },\n {\n 'name': 'person_id_role',\n 'type': 'string'\n },\n {\n 'name': 'person_id_active',\n 'type': 'int'\n },\n {\n 'name': 'person_id_remarks',\n 'type': 'string'\n },\n {\n 'name': 'person_id_passwd',\n 'type': 'string'\n },\n {\n 'name': 'person_id_owner_id',\n 'type': 'int'\n },\n {\n 'name': 'person_id_lang',\n 'type': 'string'\n },\n {\n 'name': 'person_id_no_reset_sent',\n 'type': 'int'\n },\n {\n 'name': 'person_id_action_type',\n 'type': 'string'\n },\n {\n 'name': 'person_id_project_id',\n 'type': 'int'\n },\n {\n 'name': 'person_id_deleted_by',\n 'type': 'int'\n },\n {\n 'name': 'person_id_deleted_dt',\n 'type': 'date'\n }\n]"
418 "xtype": "PagingToolbar",
421 "displayMsg": "Displaying Events{0} - {1} of {2}",
422 "emptyMsg": "No Events found",
426 "*prop": "colModel[]",
430 "xtype": "ColumnModel",
431 "|renderer": "function(v) { return String.format('{0}', v); }",
435 "xtype": "ColumnModel",
436 "header": "Event when",
438 "dataIndex": "event_when",
439 "|renderer": "function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); }",
441 "*prop": "colModel[]"
444 "*prop": "colModel[]",
445 "dataIndex": "action",
448 "xtype": "ColumnModel",
449 "|renderer": "function(v) { return String.format('{0}', v); }",
453 "*prop": "colModel[]",
454 "dataIndex": "ipaddr",
457 "xtype": "ColumnModel",
458 "|renderer": "function(v) { return String.format('{0}', v); }",
462 "*prop": "colModel[]",
463 "dataIndex": "on_id",
466 "xtype": "ColumnModel",
467 "|renderer": "function(v) { return String.format('{0}', v); }",
471 "xtype": "ColumnModel",
474 "dataIndex": "remarks",
475 "|renderer": "function(v) { return String.format('{0}', v); }",
477 "*prop": "colModel[]"
485 "|activate": "function() {\n _this.daypanel = this;\n if (_this.daygrid) {\n _this.daygrid.footer.onClick('first');\n }\n}"
488 "fitContainer": true,
491 "tableName": "Events",
492 "title": "Daily summary",
493 "xtype": "GridPanel",
498 "|render": "function() \n{\n _this.daygrid = this; \n //_this.dialog = Pman.Dialog.FILL_IN\n if (_this.daypanel.active) {\n this.footer.onClick('first');\n }\n}"
501 "autoExpandColumn": "person_name",
508 "beforeload": "function (_self, o)\n{\n if (! _this.dategrid) {\n return false;\n }\n \n o.params = o.params || {};\n \n var s = _this.dategrid.selModel.getSelected();\n if (!s) {\n _this.detailgrid.view.el.mask(\"Select a person\");\n return false;\n }\n \n o.params.person_id = s.data.person_id; \n \n var s = _this.tablegrid.selModel.getSelected();\n if (!s) {\n _this.detailgrid.view.el.mask(\"Select a table\");\n return false;\n }\n o.params.on_table = s.data.on_table; \n \n _this.detailgrid.view.el.unmask();\n \n var act = _this.actionSel.getValue();\n if (act.length) {\n o.params.action = act;\n }\n var tbl = _this.affectSel.getValue();\n if (tbl.length) {\n o.params.on_table = tbl;\n }\n \n \n act = _this.dateFrom.getValue();\n if (act.format) {\n o.params['query[from]'] = act.format('Y-m-d');\n }\n act = _this.dateTo.getValue();\n if (act.format) {\n o.params['query[to]'] = act.format('Y-m-d');\n }\n\n o.params['query[day_sum]'] = 1;\n o.params._columns = 'on_day,qty,uqty';\n\n \n}"
510 "*prop": "dataSource",
513 "|sortInfo": "{ field : 'on_day', direction: 'ASC' }",
518 "xtype": "HttpProxy",
520 "|url": "baseURL + '/Roo/Events.php'",
525 "xtype": "JsonReader",
526 "totalProperty": "total",
530 "|fields": "[\n {\n 'name': 'id',\n 'type': 'int'\n },\n {\n 'name': 'person_name',\n 'type': 'string'\n },\n {\n 'name': 'event_when',\n 'type': 'date',\n 'dateFormat': 'Y-m-d'\n },\n {\n 'name': 'action',\n 'type': 'string'\n },\n {\n 'name': 'ipaddr',\n 'type': 'string'\n },\n {\n 'name': 'on_id',\n 'type': 'int'\n },\n {\n 'name': 'on_table',\n 'type': 'string'\n },\n {\n 'name': 'person_id',\n 'type': 'int'\n },\n {\n 'name': 'remarks',\n 'type': 'string'\n },\n {\n 'name': 'person_id_id',\n 'type': 'int'\n },\n {\n 'name': 'person_id_office_id',\n 'type': 'int'\n },\n {\n 'name': 'person_id_name',\n 'type': 'string'\n },\n {\n 'name': 'person_id_phone',\n 'type': 'string'\n },\n {\n 'name': 'person_id_fax',\n 'type': 'string'\n },\n {\n 'name': 'person_id_email',\n 'type': 'string'\n },\n {\n 'name': 'person_id_company_id',\n 'type': 'int'\n },\n {\n 'name': 'person_id_role',\n 'type': 'string'\n },\n {\n 'name': 'person_id_active',\n 'type': 'int'\n },\n {\n 'name': 'person_id_remarks',\n 'type': 'string'\n },\n {\n 'name': 'person_id_passwd',\n 'type': 'string'\n },\n {\n 'name': 'person_id_owner_id',\n 'type': 'int'\n },\n {\n 'name': 'person_id_lang',\n 'type': 'string'\n },\n {\n 'name': 'person_id_no_reset_sent',\n 'type': 'int'\n },\n {\n 'name': 'person_id_action_type',\n 'type': 'string'\n },\n {\n 'name': 'person_id_project_id',\n 'type': 'int'\n },\n {\n 'name': 'person_id_deleted_by',\n 'type': 'int'\n },\n {\n 'name': 'person_id_deleted_dt',\n 'type': 'date'\n }\n]"
536 "xtype": "PagingToolbar",
539 "displayMsg": "Displaying Events{0} - {1} of {2}",
540 "emptyMsg": "No Events found",
544 "*prop": "colModel[]",
545 "dataIndex": "on_day",
546 "header": "Event when",
549 "xtype": "ColumnModel",
550 "|renderer": "function(v) { return String.format('{0}', v ); }",
554 "*prop": "colModel[]",
556 "header": "#Affected",
559 "xtype": "ColumnModel",
560 "|renderer": "function(v) { return String.format('{0}', v); }",
564 "*prop": "colModel[]",
569 "xtype": "ColumnModel",
570 "|renderer": "function(v) { return String.format('{0}', v); }",