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",
33 "*prop": "dataSource",
36 "|sortInfo": "{ field : 'person_id_name', direction: 'ASC' }",
43 "|url": "baseURL + '/Roo/core_notify_recur.php'",
48 "xtype": "JsonReader",
49 "totalProperty": "total",
53 "|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]"
59 "xtype": "PagingToolbar",
62 "displayMsg": "Displaying core_notify_recur{0} - {1} of {2}",
63 "emptyMsg": "No core_notify_recur found",
67 "*prop": "colModel[]",
68 "dataIndex": "person_id_name",
71 "xtype": "ColumnModel",
72 "|renderer": "function(v,x,r) { \n return String.format('{0} <a href=\"mailto:{1}\">{1}</a>', v,r.data.person_id_email); \n}",
76 "xtype": "ColumnModel",
79 "dataIndex": "dtstart",
80 "|renderer": "function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); }",
85 "xtype": "ColumnModel",
89 "|renderer": "function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); }",
94 "*prop": "colModel[]",
95 "dataIndex": "last_applied_dt",
96 "header": "Last Notification created",
98 "xtype": "ColumnModel",
99 "|renderer": "function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); }",
103 "*prop": "colModel[]",
107 "xtype": "ColumnModel",
108 "|renderer": "function(v) { return String.format('{0}', v); }",
112 "*prop": "colModel[]",
116 "xtype": "ColumnModel",
117 "|renderer": "function(v) { return String.format('{0}', v); }",
121 "*prop": "colModel[]",
122 "dataIndex": "freq_day",
123 "header": "Freq day",
125 "xtype": "ColumnModel",
126 "|renderer": "function(v) { return String.format('{0}', v); }",
130 "xtype": "ColumnModel",
131 "header": "Freq hour",
133 "dataIndex": "freq_hour",
134 "|renderer": "function(v) { return String.format('{0}', v); }",
136 "*prop": "colModel[]"
139 "*prop": "colModel[]",
143 "xtype": "ColumnModel",
144 "|renderer": "function(v,x,r) { return String.format('{1}:{0}', v,r.data.ontable); }",
148 "*prop": "colModel[]",
149 "dataIndex": "method",
152 "xtype": "ColumnModel",
153 "|renderer": "function(v) { return String.format('{0}', v); }",