3 "name": "Pman.Tab.AdminNotifyRecur",
4 "parent": "Pman.Tab.AdminWatchNotify",
5 "title": "Pman.Tab.AdminNotifyRecur",
6 "path": "/home/alan/gitlive/Pman.Admin/Pman.Tab.AdminNotifyRecur.bjs",
10 "|activate": "function() {\n _this.panel = this;\n if (_this.grid) {\n _this.grid.footer.onClick('first');\n }\n}"
16 "tableName": "core_notify_recur",
17 "title": "Recurrent Notifications",
23 "|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}",
24 "|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"
27 "autoExpandColumn": "person_id_name",
38 "*prop": "dataSource",
41 "|sortInfo": "{ field : 'person_id_name', direction: 'ASC' }",
48 "|url": "baseURL + '/Roo/core_notify_recur.php'",
53 "xtype": "JsonReader",
54 "totalProperty": "total",
58 "|fields": "[\n {\n 'name': 'id',\n 'type': 'int'\n },\n {\n 'name': 'person_id',\n 'type': 'int'\n },\n {\n 'name': 'dtstart',\n 'type': 'date',\n 'dateFormat': 'Y-m-d'\n },\n {\n 'name': 'dtend',\n 'type': 'date',\n 'dateFormat': 'Y-m-d'\n },\n {\n 'name': 'max_applied_dt',\n 'type': 'date',\n 'dateFormat': 'Y-m-d'\n },\n {\n 'name': 'updated_dt',\n 'type': 'date',\n 'dateFormat': 'Y-m-d'\n },\n {\n 'name': 'last_applied_dt',\n 'type': 'date',\n 'dateFormat': 'Y-m-d'\n },\n {\n 'name': 'tz',\n 'type': 'string'\n },\n {\n 'name': 'freq',\n 'type': 'string'\n },\n {\n 'name': 'freq_day',\n 'type': 'string'\n },\n {\n 'name': 'freq_hour',\n 'type': 'string'\n },\n {\n 'name': 'onid',\n 'type': 'int'\n },\n {\n 'name': 'ontable',\n 'type': 'string'\n },\n {\n 'name': 'last_event_id',\n 'type': 'int'\n },\n {\n 'name': 'method',\n 'type': 'string'\n }\n]"
64 "xtype": "PagingToolbar",
67 "displayMsg": "Displaying core_notify_recur{0} - {1} of {2}",
68 "emptyMsg": "No core_notify_recur found",
72 "*prop": "colModel[]",
73 "dataIndex": "person_id_name",
76 "xtype": "ColumnModel",
77 "|renderer": "function(v,x,r) { \n return String.format('{0} <a href=\"mailto:{1}\">{1}</a>', v,r.data.person_id_email); \n}",
81 "xtype": "ColumnModel",
84 "dataIndex": "dtstart",
85 "|renderer": "function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); }",
90 "xtype": "ColumnModel",
94 "|renderer": "function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); }",
99 "*prop": "colModel[]",
100 "dataIndex": "last_applied_dt",
101 "header": "Last Notification created",
103 "xtype": "ColumnModel",
104 "|renderer": "function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); }",
108 "*prop": "colModel[]",
112 "xtype": "ColumnModel",
113 "|renderer": "function(v) { return String.format('{0}', v); }",
117 "*prop": "colModel[]",
121 "xtype": "ColumnModel",
122 "|renderer": "function(v) { return String.format('{0}', v); }",
126 "*prop": "colModel[]",
127 "dataIndex": "freq_day",
128 "header": "Freq day",
130 "xtype": "ColumnModel",
131 "|renderer": "function(v) { return String.format('{0}', v); }",
135 "xtype": "ColumnModel",
136 "header": "Freq hour",
138 "dataIndex": "freq_hour",
139 "|renderer": "function(v) { return String.format('{0}', v); }",
141 "*prop": "colModel[]"
144 "*prop": "colModel[]",
148 "xtype": "ColumnModel",
149 "|renderer": "function(v,x,r) { return String.format('{1}:{0}', v,r.data.ontable); }",
153 "*prop": "colModel[]",
154 "dataIndex": "method",
157 "xtype": "ColumnModel",
158 "|renderer": "function(v) { return String.format('{0}', v); }",