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",
39 "select": "function (combo, record, index)\n{\n (function() { _this.grid.footer.onClick('first'); }).defer(100);\n}",
40 "render": "function (_self)\n{\n _this.personCombo = _self;\n}"
43 "displayField": "person_id_name",
45 "emptyText": "Select person",
46 "forceSelection": true,
49 "loadingText": "Searching...",
53 "qtip": "Select core_notify",
54 "queryParam": "query[person_id_name]",
55 "selectOnFocus": true,
56 "tpl": "<div class=\"x-grid-cell-text x-btn button\"><b>{person_id_name}</b> {person_id_email}</div>",
57 "triggerAction": "all",
58 "valueField": "person_id",
65 "|beforeload": "function (_self, o){\n o.params = o.params || {};\n o.params._distinct='person_id';\n o.params._columns='person_id,person_id_name,person_id_email';\n o.params['!person_id_name'] = '';\n \n // set more here\n}\n"
70 "|sortInfo": "{ direction : 'ASC', field: 'person_id_name' }",
77 "|url": "baseURL + '/Roo/core_notify_recur.php'",
82 "xtype": "JsonReader",
86 "totalProperty": "total",
87 "|fields": "[{\"name\":\"id\",\"type\":\"int\"},{\"name\":\"ontable\",\"type\":\"string\"}]"
96 "*prop": "dataSource",
99 "|sortInfo": "{ field : 'person_id_name', direction: 'ASC' }",
104 "xtype": "HttpProxy",
106 "|url": "baseURL + '/Roo/core_notify_recur.php'",
111 "xtype": "JsonReader",
112 "totalProperty": "total",
116 "|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]"
122 "xtype": "PagingToolbar",
125 "displayMsg": "Displaying core_notify_recur{0} - {1} of {2}",
126 "emptyMsg": "No core_notify_recur found",
130 "*prop": "colModel[]",
131 "dataIndex": "person_id_name",
134 "xtype": "ColumnModel",
135 "|renderer": "function(v,x,r) { \n return String.format('{0} <a href=\"mailto:{1}\">{1}</a>', v,r.data.person_id_email); \n}",
139 "xtype": "ColumnModel",
142 "dataIndex": "dtstart",
143 "|renderer": "function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); }",
145 "*prop": "colModel[]"
148 "xtype": "ColumnModel",
151 "dataIndex": "dtend",
152 "|renderer": "function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); }",
154 "*prop": "colModel[]"
157 "*prop": "colModel[]",
158 "dataIndex": "last_applied_dt",
159 "header": "Last Notification created",
161 "xtype": "ColumnModel",
162 "|renderer": "function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); }",
166 "*prop": "colModel[]",
170 "xtype": "ColumnModel",
171 "|renderer": "function(v) { return String.format('{0}', v); }",
175 "*prop": "colModel[]",
179 "xtype": "ColumnModel",
180 "|renderer": "function(v) { return String.format('{0}', v); }",
184 "*prop": "colModel[]",
185 "dataIndex": "freq_day",
186 "header": "Freq day",
188 "xtype": "ColumnModel",
189 "|renderer": "function(v) { return String.format('{0}', v); }",
193 "xtype": "ColumnModel",
194 "header": "Freq hour",
196 "dataIndex": "freq_hour",
197 "|renderer": "function(v) { return String.format('{0}', v); }",
199 "*prop": "colModel[]"
202 "*prop": "colModel[]",
206 "xtype": "ColumnModel",
207 "|renderer": "function(v,x,r) { return String.format('{1}:{0}', v,r.data.ontable); }",
211 "*prop": "colModel[]",
212 "dataIndex": "method",
215 "xtype": "ColumnModel",
216 "|renderer": "function(v) { return String.format('{0}', v); }",