2 "name" : "Pman.Tab.AdminNotifyRecur",
3 "parent" : "Pman.Tab.AdminWatchNotify",
4 "title" : "Pman.Tab.AdminNotifyRecur",
5 "path" : "/home/alan/gitlive/Pman.Admin/Pman.Tab.AdminNotifyRecur.bjs",
9 "04df30d61712300fd31c24e2c7c8f9bc" : "Select core_notify",
10 "be3c26f9baf09972ddc410c5c7c63403" : "Displaying core_notify_recur{0} - {1} of {2}",
11 "808e3eefe289c698ec4def4a54ac36af" : "Last Notification created",
12 "13a831874352b548ac7b5e63a860aa1b" : "Tz",
13 "c348b06d2667edd048ded3c1b1878cc1" : "Recurrent Notifications",
14 "c956c97343a45cca5d492e70c56daa8e" : "Select person",
15 "25af45209313b11d55424103567a1347" : "Dtend",
16 "1243daf593fa297e07ab03bf06d925af" : "Searching...",
17 "effad6ff1d36887ce57d05300912bf61" : "No core_notify_recur found",
18 "83b9a425d6b152330823ab8357f441ae" : "Dtstart",
19 "ac2c474467a60fa4e2c88158a6d2abf9" : "Freq day",
20 "40bed7cf9b3d4bb3a3d7a7e3eb18c5eb" : "Person",
21 "6ffde0d71e2b678e619e4a642d0b22a6" : "Freq hour",
22 "4c3880bb027f159e801041b1021e88e8" : "Method",
23 "d8d80ec41fc8cca7569ac2d2937bd97b" : "Affects",
24 "84307c751e4541f54714472e3df742dd" : "Freq"
29 "|activate" : "function() {\n _this.panel = this;\n if (_this.grid) {\n _this.grid.footer.onClick('first');\n }\n}"
34 "title" : "Recurrent Notifications",
35 "xtype" : "GridPanel",
36 "fitContainer" : true,
38 "tableName" : "core_notify_recur",
42 "|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",
43 "|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}"
45 "autoExpandColumn" : "person_id_name",
58 "render" : "function (_self)\n{\n _this.personCombo = _self;\n}",
59 "select" : "function (combo, record, index)\n{\n (function() { _this.grid.footer.onClick('first'); }).defer(100);\n}"
62 "triggerAction" : "all",
63 "forceSelection" : true,
64 "selectOnFocus" : true,
66 "displayField" : "person_id_name",
67 "emptyText" : "Select person",
70 "valueField" : "person_id",
77 "qtip" : "Select core_notify",
78 "queryParam" : "query[person_id_name]",
79 "tpl" : "<div class=\"x-grid-cell-text x-btn button\"><b>{person_id_name}</b> {person_id_email}</div>",
80 "loadingText" : "Searching...",
84 "|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"
88 "$ sortInfo" : "{ direction : 'ASC', field: 'person_id_name' }",
93 "$ url" : "baseURL + '/Roo/core_notify_recur.php'",
94 "xtype" : "HttpProxy",
102 "xtype" : "JsonReader",
103 "$ xns" : "Roo.data",
104 "$ fields" : "[{\"name\":\"id\",\"type\":\"int\"},{\"name\":\"ontable\",\"type\":\"string\"}]",
106 "totalProperty" : "total"
116 "beforeload" : "function (_self, options)\n{\n if (!_this.personCombo) {\n return false;\n }\n var p = _this.personCombo.getValue();\n if (p*1) { \n options.params.person_id = p;\n }\n}"
120 "$ sortInfo" : "{ field : 'person_id_name', direction: 'ASC' }",
121 "$ xns" : "Roo.data",
122 "* prop" : "dataSource",
125 "$ url" : "baseURL + '/Roo/core_notify_recur.php'",
127 "xtype" : "HttpProxy",
128 "$ xns" : "Roo.data",
134 "xtype" : "JsonReader",
135 "$ xns" : "Roo.data",
136 "$ 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]",
138 "totalProperty" : "total"
144 "xtype" : "PagingToolbar",
145 "emptyMsg" : "No core_notify_recur found",
147 "displayInfo" : true,
148 "displayMsg" : "Displaying core_notify_recur{0} - {1} of {2}",
152 "xtype" : "ColumnModel",
155 "$ renderer" : "function(v,x,r) { \n return String.format('{0} <a href=\"mailto:{1}\">{1}</a>', v,r.data.person_id_email); \n}",
156 "$ xns" : "Roo.grid",
157 "* prop" : "colModel[]",
158 "dataIndex" : "person_id_name"
161 "xtype" : "ColumnModel",
163 "header" : "Dtstart",
164 "$ renderer" : "function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); }",
165 "$ xns" : "Roo.grid",
166 "* prop" : "colModel[]",
167 "dataIndex" : "dtstart"
170 "xtype" : "ColumnModel",
173 "$ renderer" : "function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); }",
174 "$ xns" : "Roo.grid",
175 "* prop" : "colModel[]",
176 "dataIndex" : "dtend"
179 "xtype" : "ColumnModel",
180 "header" : "Last Notification created",
182 "$ renderer" : "function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); }",
183 "$ xns" : "Roo.grid",
184 "* prop" : "colModel[]",
185 "dataIndex" : "last_applied_dt"
188 "xtype" : "ColumnModel",
191 "$ renderer" : "function(v) { return String.format('{0}', v); }",
192 "$ xns" : "Roo.grid",
193 "* prop" : "colModel[]",
197 "xtype" : "ColumnModel",
200 "$ renderer" : "function(v) { return String.format('{0}', v); }",
201 "$ xns" : "Roo.grid",
202 "* prop" : "colModel[]",
206 "xtype" : "ColumnModel",
207 "header" : "Freq day",
209 "$ renderer" : "function(v) { return String.format('{0}', v); }",
210 "$ xns" : "Roo.grid",
211 "* prop" : "colModel[]",
212 "dataIndex" : "freq_day"
215 "xtype" : "ColumnModel",
217 "header" : "Freq hour",
218 "$ renderer" : "function(v) { return String.format('{0}', v); }",
219 "$ xns" : "Roo.grid",
220 "* prop" : "colModel[]",
221 "dataIndex" : "freq_hour"
224 "xtype" : "ColumnModel",
225 "header" : "Affects",
227 "$ renderer" : "function(v,x,r) { return String.format('{1}:{0}', v,r.data.ontable); }",
228 "$ xns" : "Roo.grid",
229 "* prop" : "colModel[]",
233 "xtype" : "ColumnModel",
236 "$ renderer" : "function(v) { return String.format('{0}', v); }",
237 "$ xns" : "Roo.grid",
238 "* prop" : "colModel[]",
239 "dataIndex" : "method"