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",
11 "title": "core_notify_recur",
14 "tableName": "core_notify_recur",
18 "|activate": "function() {\n _this.panel = this;\n if (_this.grid) {\n _this.grid.footer.onClick('first');\n }\n}"
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 : 'tz', 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",
74 "cls": "x-btn-text-icon",
75 "|icon": "Roo.rootURL + 'images/default/dd/drop-add.gif'",
77 "|click": "function()\n{\n if (!_this.dialog) return;\n _this.dialog.show( { id : 0 } , function() {\n _this.grid.footer.onClick('first');\n }); \n}\n"
84 "cls": "x-btn-text-icon",
85 "|icon": "Roo.rootURL + 'images/default/tree/leaf.gif'",
87 "|click": "function()\n{\n var s = _this.grid.getSelectionModel().getSelections();\n if (!s.length || (s.length > 1)) {\n Roo.MessageBox.alert(\"Error\", s.length ? \"Select only one Row\" : \"Select a Row\");\n return;\n }\n if (!_this.dialog) return;\n _this.dialog.show(s[0].data, function() {\n _this.grid.footer.onClick('first');\n }); \n \n}\n"
93 "cls": "x-btn-text-icon",
94 "|icon": "rootURL + '/Pman/templates/images/trash.gif'",
97 "|click": "function()\n{\n Pman.genericDelete(_this, 'core_notify_recur'); \n}\n "
104 "*prop": "colModel[]",
105 "dataIndex": "person_id_name",
108 "xtype": "ColumnModel",
109 "|renderer": "function(v,x,r) { \n return String.format('{0} <a href=\"mailto:{1}\">{1}</a>', v,r,data.person_id.email); \n}",
113 "xtype": "ColumnModel",
116 "dataIndex": "dtstart",
117 "|renderer": "function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); }",
119 "*prop": "colModel[]"
122 "xtype": "ColumnModel",
125 "dataIndex": "dtend",
126 "|renderer": "function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); }",
128 "*prop": "colModel[]"
131 "*prop": "colModel[]",
132 "dataIndex": "last_applied_dt",
133 "header": "Last Notification created",
135 "xtype": "ColumnModel",
136 "|renderer": "function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); }",
140 "*prop": "colModel[]",
144 "xtype": "ColumnModel",
145 "|renderer": "function(v) { return String.format('{0}', v); }",
149 "*prop": "colModel[]",
153 "xtype": "ColumnModel",
154 "|renderer": "function(v) { return String.format('{0}', v); }",
158 "*prop": "colModel[]",
159 "dataIndex": "freq_day",
160 "header": "Freq day",
162 "xtype": "ColumnModel",
163 "|renderer": "function(v) { return String.format('{0}', v); }",
167 "xtype": "ColumnModel",
168 "header": "Freq hour",
170 "dataIndex": "freq_hour",
171 "|renderer": "function(v) { return String.format('{0}', v); }",
173 "*prop": "colModel[]"
176 "*prop": "colModel[]",
180 "xtype": "ColumnModel",
181 "|renderer": "function(v,x,r) { return String.format('{1}:{0}', v,r.data.ontable); }",
185 "*prop": "colModel[]",
186 "dataIndex": "method",
189 "xtype": "ColumnModel",
190 "|renderer": "function(v) { return String.format('{0}', v); }",