2 "name" : "Pman.Dialog.MTrackTime",
5 "path" : "/home/alan/gitlive/Pman.MTrack/Pman.Dialog.MTrackTime.bjs",
9 "9a221c25cceeb0d108ff6cb635dc8b8b" : "Open Tasks (Unassigned) / Select Project",
10 "9e727fdd3aec8274f46685441900280d" : "Project",
11 "6a58f977f2b623b695a340766f2a6843" : "Select Project",
12 "74cf22d20dea80f7bd8800a6da89a722" : "Select mtrack_ticket",
13 "c751439d0db3883ac1c8e816327adcab" : "Ticket",
14 "290612199861c31d1036b185b4e69b75" : "Summary",
15 "1fa1f1ccb57b2486b4c05122d64868d4" : "Not on Project work",
16 "6cca3734b44a6ae61b40c9a915d122f4" : "Task Queue",
17 "ed7b9312345d291c1ccf68096e65ca54" : "Ticket Details",
18 "1243daf593fa297e07ab03bf06d925af" : "Searching...",
19 "645fcdd1616f8c7dbb207f6802786431" : "Time Manager",
20 "329a87b3fae81c1c17a185c78d2e0e63" : "cash_invoice_entry",
21 "9deec6a3dfda06500b808d70875f0a8f" : "Log Time",
22 "40bed7cf9b3d4bb3a3d7a7e3eb18c5eb" : "Person",
23 "340c2ee497b85d5954b01c64de7f44f6" : "Select Person",
24 "f4c6f851b00d5518bf888815de279aba" : "Notes",
25 "24f27bda5dd2c488aa9bc7700ba98c34" : "Select Projects",
26 "07ca5050e697392c9ed47e6453f1453f" : "Completed",
27 "a76d4ef5f3f6a672bbfab2865563e530" : "Time",
28 "b5a7adde1af5c87d7fd797b6245c2a39" : "Description",
29 "642f8356fcf65868f037f92e0e10c3cd" : "Plan Time",
30 "9e51cf61fbb08a10c12619611dc818ad" : "Active / Logged Time",
31 "3efbc55730fd4af147b96183d8afbd3b" : "mtrack_ticket",
32 "b2439dea1dd89e6f694df484214e57cf" : "Working on this",
33 "f49f927095bb01b44c96d29c8c09f3a3" : "Assigned to / Prioritized (all projects)"
36 "description_fieldLabel" : "b5a7adde1af5c87d7fd797b6245c2a39",
37 "project_id_name_emptyText" : "6a58f977f2b623b695a340766f2a6843",
38 "project_id_name_loadingText" : "1243daf593fa297e07ab03bf06d925af",
39 "project_id_name_qtip" : "24f27bda5dd2c488aa9bc7700ba98c34",
40 "project_id_name_fieldLabel" : "9e727fdd3aec8274f46685441900280d"
44 "title" : "Time Manager",
45 "xtype" : "LayoutDialog",
51 "xtype" : "LayoutRegion",
53 "tabPosition" : "top",
59 "xtype" : "NestedLayoutPanel",
63 "xtype" : "BorderLayout",
68 "xtype" : "LayoutRegion",
75 "xtype" : "LayoutRegion",
76 "title" : "Active / Logged Time",
81 "collapsedTitle" : "Ticket Details",
83 "title" : "Ticket Details",
84 "xtype" : "LayoutRegion",
93 "|activate" : "function() {\n _this.timepanel = this;\n if (_this.timegrid) {\n // _this.grid.footer.onClick('first');\n }\n}"
98 "title" : "cash_invoice_entry",
99 "xtype" : "GridPanel",
100 "fitContainer" : true,
102 "tableName" : "cash_invoice_entry",
106 "|rowdblclick" : "function (_self, rowIndex, e)\n{\n if (!_this.dialog) { return; }\n _this.dialog.show( this.getDataSource().getAt(rowIndex), function() {\n _this.grid.footer.onClick('first');\n }); \n}\n",
107 "|render" : "function() \n{\n _this.timegrid = this; \n //_this.dialog = Pman.Dialog.FILL_IN\n if (_this.timepanel.active) {\n // this.footer.onClick('first');\n }\n}"
109 "autoExpandColumn" : "activity_ref",
112 "$ xns" : "Roo.grid",
118 "* prop" : "toolbar",
122 "render" : "function (_self)\n{\n _this.personSelect = _self;\n}"
125 "triggerAction" : "all",
126 "fieldLabel" : "Person",
127 "forceSelection" : true,
128 "selectOnFocus" : true,
130 "displayField" : "name",
131 "emptyText" : "Select Person",
135 "xtype" : "ComboBox",
136 "allowBlank" : false,
140 "$ xns" : "Roo.form",
142 "qtip" : "Select Person",
144 "tpl" : "<div class=\"x-grid-cell-text x-btn button\"><b>{name}</b> {email} </div>",
145 "loadingText" : "Searching...",
149 "|beforeload" : "function (_self, o){\n o.params = o.params || {};\n // set more here\n o.params.company_id_comptype = 'OWNER';\n}\n"
153 "$ sortInfo" : "{ direction : 'ASC', field: 'id' }",
154 "$ xns" : "Roo.data",
158 "$ url" : "baseURL + '/Roo/Person.php'",
159 "xtype" : "HttpProxy",
161 "$ xns" : "Roo.data",
167 "xtype" : "JsonReader",
168 "$ xns" : "Roo.data",
169 "$ fields" : "[{\"name\":\"id\",\"type\":\"int\"},{\"name\":\"name\",\"type\":\"string\"}]",
171 "totalProperty" : "total"
182 "$ sortInfo" : "{ field : 'action_dt', direction: 'DESC' }",
183 "$ xns" : "Roo.data",
184 "* prop" : "dataSource",
188 "beforeload" : "function (This, params)\n{\n if (_this.personSelect.getValue()) {\n params.person_id = _this.personSelect.getValue();\n } else {\n params.person_id = Pman.Login.authUser.id;\n }\n \n \n}"
190 "$ url" : "baseURL + '/Roo/cash_invoice_entry.php'",
192 "xtype" : "HttpProxy",
193 "$ xns" : "Roo.data",
199 "xtype" : "JsonReader",
200 "$ xns" : "Roo.data",
201 "$ fields" : "[\n {\n 'name': 'id',\n 'type': 'int'\n },\n {\n 'name': 'entry_dt',\n 'type': 'date',\n 'dateFormat': 'Y-m-d'\n },\n {\n 'name': 'entered_dt',\n 'type': 'date',\n 'dateFormat': 'Y-m-d'\n },\n {\n 'name': 'description',\n 'type': 'string'\n },\n {\n 'name': 'action',\n 'type': 'string'\n },\n {\n 'name': 'qty',\n 'type': 'string'\n },\n {\n 'name': 'invoice_id',\n 'type': 'int'\n },\n {\n 'name': 'pricevalue',\n 'type': 'float'\n },\n {\n 'name': 'qtyvalue',\n 'type': 'float'\n },\n {\n 'name': 'to_account_id',\n 'type': 'int'\n },\n {\n 'name': 'discount',\n 'type': 'float'\n },\n {\n 'name': 'action_dt',\n 'type': 'date',\n 'dateFormat': 'Y-m-d'\n },\n {\n 'name': 'staff_id',\n 'type': 'int'\n },\n {\n 'name': 'invoice_id_id',\n 'type': 'int'\n },\n {\n 'name': 'invoice_id_idtxt',\n 'type': 'string'\n },\n {\n 'name': 'invoice_id_project_id',\n 'type': 'int'\n },\n {\n 'name': 'invoice_id_opened_dt',\n 'type': 'date'\n },\n {\n 'name': 'invoice_id_posted',\n 'type': 'date'\n },\n {\n 'name': 'invoice_id_post_transaction_id',\n 'type': 'int'\n },\n {\n 'name': 'invoice_id_post_account_id',\n 'type': 'int'\n },\n {\n 'name': 'invoice_id_paid',\n 'type': 'float'\n },\n {\n 'name': 'invoice_id_total',\n 'type': 'float'\n },\n {\n 'name': 'invoice_id_duedate',\n 'type': 'date'\n },\n {\n 'name': 'to_account_id_id',\n 'type': 'int'\n },\n {\n 'name': 'to_account_id_name',\n 'type': 'string'\n },\n {\n 'name': 'to_account_id_type',\n 'type': 'string'\n },\n {\n 'name': 'to_account_id_commodity',\n 'type': 'string'\n },\n {\n 'name': 'to_account_id_scu',\n 'type': 'string'\n },\n {\n 'name': 'to_account_id_description',\n 'type': 'string'\n },\n {\n 'name': 'to_account_id_parent',\n 'type': 'int'\n },\n {\n 'name': 'to_account_id_fullname',\n 'type': 'string'\n },\n {\n 'name': 'staff_id_id',\n 'type': 'int'\n },\n {\n 'name': 'staff_id_office_id',\n 'type': 'int'\n },\n {\n 'name': 'staff_id_name',\n 'type': 'string'\n },\n {\n 'name': 'staff_id_phone',\n 'type': 'string'\n },\n {\n 'name': 'staff_id_fax',\n 'type': 'string'\n },\n {\n 'name': 'staff_id_email',\n 'type': 'string'\n },\n {\n 'name': 'staff_id_company_id',\n 'type': 'int'\n },\n {\n 'name': 'staff_id_role',\n 'type': 'string'\n },\n {\n 'name': 'staff_id_active',\n 'type': 'int'\n },\n {\n 'name': 'staff_id_remarks',\n 'type': 'string'\n },\n {\n 'name': 'staff_id_passwd',\n 'type': 'string'\n },\n {\n 'name': 'staff_id_owner_id',\n 'type': 'int'\n },\n {\n 'name': 'staff_id_lang',\n 'type': 'string'\n },\n {\n 'name': 'staff_id_no_reset_sent',\n 'type': 'int'\n },\n {\n 'name': 'staff_id_action_type',\n 'type': 'string'\n },\n {\n 'name': 'staff_id_project_id',\n 'type': 'int'\n },\n {\n 'name': 'staff_id_deleted_by',\n 'type': 'int'\n },\n {\n 'name': 'staff_id_deleted_dt',\n 'type': 'date'\n }\n]",
203 "totalProperty" : "total"
208 "xtype" : "ColumnModel",
211 "$ renderer" : "function(v,x,r) { \n var s = r.data.qtyvalue;\n var end = v.add(Date.HOUR, s);\n return String.format('{0} {1}-{2}',\n v.format('D'), v.format('H:i'), end.format('H:i') );\n}",
212 "$ xns" : "Roo.grid",
213 "* prop" : "colModel[]",
214 "dataIndex" : "action_dt"
217 "xtype" : "ColumnModel",
220 "$ renderer" : "function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); }",
221 "$ xns" : "Roo.grid",
222 "* prop" : "colModel[]",
223 "dataIndex" : "ticket_id_summary"
226 "xtype" : "ColumnModel",
229 "$ renderer" : "function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); }",
230 "$ xns" : "Roo.grid",
231 "* prop" : "colModel[]",
232 "dataIndex" : "notes"
240 "xtype" : "NestedLayoutPanel",
244 "xtype" : "BorderLayout",
249 "xtype" : "LayoutRegion",
255 "xtype" : "LayoutRegion",
256 "title" : "Task Queue",
262 "|activate" : "function() {\n _this.queuepanel = this;\n if (_this.queuegrid) {\n //_this.queuegrid.footer.onClick('first');\n }\n}"
267 "title" : "mtrack_ticket",
268 "xtype" : "GridPanel",
269 "fitContainer" : true,
271 "tableName" : "mtrack_ticket",
275 "|rowdblclick" : "function (_self, rowIndex, e)\n{\n if (!_this.dialog) { return; }\n _this.dialog.show( this.getDataSource().getAt(rowIndex), function() {\n _this.grid.footer.onClick('first');\n }); \n}\n",
276 "|render" : "function() \n{\n _this.queuegrid = this; \n //_this.dialog = Pman.Dialog.FILL_IN\n if (_this.queuepanel.active) {\n //this.footer.onClick('first');\n }\n}"
278 "autoExpandColumn" : "summary",
281 "$ xns" : "Roo.grid",
287 "* prop" : "toolbar",
291 "render" : "function (_self)\n{\n _this.projectSel = _self;\n}",
292 "beforeselect" : "function (combo, record, index)\n{\n\n \n _this.queuegrid.ds.load({});\n \n \n \n}"
295 "triggerAction" : "all",
296 "fieldLabel" : "Project",
297 "forceSelection" : true,
298 "selectOnFocus" : true,
300 "displayField" : "name",
301 "emptyText" : "Select Project",
302 "hiddenName" : "project_id",
305 "xtype" : "ComboBox",
306 "allowBlank" : false,
310 "$ xns" : "Roo.form",
311 "name" : "project_id_name",
312 "qtip" : "Select Projects",
313 "queryParam" : "query[name]",
314 "tpl" : "<div class=\"x-grid-cell-text x-btn button\"><b>{code}</b> - {name}</div>",
315 "loadingText" : "Searching...",
319 "|beforeload" : "function (_self, o){\n o.params = o.params || {};\n o.params['query[project_filter]'] = 'P,N,U'; // actually this is the default.\n \n // set more here\n}\n"
323 "$ sortInfo" : "{ field: 'code', direction: 'ASC' }",
324 "$ xns" : "Roo.data",
328 "$ url" : "baseURL + '/Roo/Projects.php'",
329 "xtype" : "HttpProxy",
331 "$ xns" : "Roo.data",
337 "xtype" : "JsonReader",
338 "$ xns" : "Roo.data",
339 "$ fields" : "[{\"name\":\"id\",\"type\":\"int\"},{\"name\":\"name\",\"type\":\"string\"}]",
341 "totalProperty" : "total"
352 "$ sortInfo" : "{ field : 'summary', direction: 'ASC' }",
353 "$ xns" : "Roo.data",
354 "* prop" : "dataSource",
357 "$ url" : "baseURL + '/Roo/mtrack_ticket.php'",
358 "xtype" : "HttpProxy",
360 "$ xns" : "Roo.data",
366 "xtype" : "JsonReader",
367 "$ xns" : "Roo.data",
368 "$ fields" : "[\n {\n 'name': 'id',\n 'type': 'int'\n } /*,\n {\n 'name': 'project_id',\n 'type': 'int'\n },\n {\n 'name': 'summary',\n 'type': 'string'\n },\n {\n 'name': 'description',\n 'type': 'string'\n },\n {\n 'name': 'changelog',\n 'type': 'string'\n },\n {\n 'name': 'created',\n 'type': 'int'\n },\n {\n 'name': 'updated',\n 'type': 'int'\n },\n {\n 'name': 'owner_id',\n 'type': 'int'\n },\n {\n 'name': 'priority_id',\n 'type': 'int'\n },\n {\n 'name': 'severity_id',\n 'type': 'int'\n },\n {\n 'name': 'classification_id',\n 'type': 'int'\n },\n {\n 'name': 'resolution_id',\n 'type': 'int'\n },\n {\n 'name': 'cc',\n 'type': 'string'\n },\n {\n 'name': 'status',\n 'type': 'int'\n },\n {\n 'name': 'estimated',\n 'type': 'float'\n },\n {\n 'name': 'spent',\n 'type': 'float'\n },\n {\n 'name': 'x_fieldname',\n 'type': 'string'\n },\n {\n 'name': 'developer_id',\n 'type': 'int'\n },\n {\n 'name': 'milestone_id',\n 'type': 'int'\n },\n {\n 'name': 'updated_id',\n 'type': 'int'\n },\n {\n 'name': 'updated_person_id',\n 'type': 'int'\n },\n {\n 'name': 'updated_ontable',\n 'type': 'string'\n },\n {\n 'name': 'updated_onid',\n 'type': 'int'\n },\n {\n 'name': 'updated_changedate',\n 'type': 'date'\n },\n {\n 'name': 'updated_reason',\n 'type': 'string'\n },\n {\n 'name': 'created_id',\n 'type': 'int'\n },\n {\n 'name': 'created_person_id',\n 'type': 'int'\n },\n {\n 'name': 'created_ontable',\n 'type': 'string'\n },\n {\n 'name': 'created_onid',\n 'type': 'int'\n },\n {\n 'name': 'created_changedate',\n 'type': 'date'\n },\n {\n 'name': 'created_reason',\n 'type': 'string'\n },\n {\n 'name': 'owner_id_id',\n 'type': 'int'\n },\n {\n 'name': 'owner_id_office_id',\n 'type': 'int'\n },\n {\n 'name': 'owner_id_name',\n 'type': 'string'\n },\n {\n 'name': 'owner_id_phone',\n 'type': 'string'\n },\n {\n 'name': 'owner_id_fax',\n 'type': 'string'\n },\n {\n 'name': 'owner_id_email',\n 'type': 'string'\n },\n {\n 'name': 'owner_id_company_id',\n 'type': 'int'\n },\n {\n 'name': 'owner_id_role',\n 'type': 'string'\n },\n {\n 'name': 'owner_id_active',\n 'type': 'int'\n },\n {\n 'name': 'owner_id_remarks',\n 'type': 'string'\n },\n {\n 'name': 'owner_id_passwd',\n 'type': 'string'\n },\n {\n 'name': 'owner_id_owner_id',\n 'type': 'int'\n },\n {\n 'name': 'owner_id_lang',\n 'type': 'string'\n },\n {\n 'name': 'owner_id_no_reset_sent',\n 'type': 'int'\n },\n {\n 'name': 'owner_id_action_type',\n 'type': 'string'\n },\n {\n 'name': 'owner_id_project_id',\n 'type': 'int'\n },\n {\n 'name': 'owner_id_deleted_by',\n 'type': 'int'\n },\n {\n 'name': 'owner_id_deleted_dt',\n 'type': 'date'\n },\n {\n 'name': 'developer_id_id',\n 'type': 'int'\n },\n {\n 'name': 'developer_id_office_id',\n 'type': 'int'\n },\n {\n 'name': 'developer_id_name',\n 'type': 'string'\n },\n {\n 'name': 'developer_id_phone',\n 'type': 'string'\n },\n {\n 'name': 'developer_id_fax',\n 'type': 'string'\n },\n {\n 'name': 'developer_id_email',\n 'type': 'string'\n },\n {\n 'name': 'developer_id_company_id',\n 'type': 'int'\n },\n {\n 'name': 'developer_id_role',\n 'type': 'string'\n },\n {\n 'name': 'developer_id_active',\n 'type': 'int'\n },\n {\n 'name': 'developer_id_remarks',\n 'type': 'string'\n },\n {\n 'name': 'developer_id_passwd',\n 'type': 'string'\n },\n {\n 'name': 'developer_id_owner_id',\n 'type': 'int'\n },\n {\n 'name': 'developer_id_lang',\n 'type': 'string'\n },\n {\n 'name': 'developer_id_no_reset_sent',\n 'type': 'int'\n },\n {\n 'name': 'developer_id_action_type',\n 'type': 'string'\n },\n {\n 'name': 'developer_id_project_id',\n 'type': 'int'\n },\n {\n 'name': 'developer_id_deleted_by',\n 'type': 'int'\n },\n {\n 'name': 'developer_id_deleted_dt',\n 'type': 'date'\n },\n {\n 'name': 'priority_id_id',\n 'type': 'int'\n },\n {\n 'name': 'priority_id_etype',\n 'type': 'string'\n },\n {\n 'name': 'priority_id_name',\n 'type': 'string'\n },\n {\n 'name': 'priority_id_active',\n 'type': 'int'\n },\n {\n 'name': 'priority_id_seqid',\n 'type': 'int'\n },\n {\n 'name': 'severity_id_id',\n 'type': 'int'\n },\n {\n 'name': 'severity_id_etype',\n 'type': 'string'\n },\n {\n 'name': 'severity_id_name',\n 'type': 'string'\n },\n {\n 'name': 'severity_id_active',\n 'type': 'int'\n },\n {\n 'name': 'severity_id_seqid',\n 'type': 'int'\n },\n {\n 'name': 'classification_id_id',\n 'type': 'int'\n },\n {\n 'name': 'classification_id_etype',\n 'type': 'string'\n },\n {\n 'name': 'classification_id_name',\n 'type': 'string'\n },\n {\n 'name': 'classification_id_active',\n 'type': 'int'\n },\n {\n 'name': 'classification_id_seqid',\n 'type': 'int'\n },\n {\n 'name': 'resolution_id_id',\n 'type': 'int'\n },\n {\n 'name': 'resolution_id_etype',\n 'type': 'string'\n },\n {\n 'name': 'resolution_id_name',\n 'type': 'string'\n },\n {\n 'name': 'resolution_id_active',\n 'type': 'int'\n },\n {\n 'name': 'resolution_id_seqid',\n 'type': 'int'\n },\n {\n 'name': 'status_id',\n 'type': 'int'\n },\n {\n 'name': 'status_etype',\n 'type': 'string'\n },\n {\n 'name': 'status_name',\n 'type': 'string'\n },\n {\n 'name': 'status_active',\n 'type': 'int'\n },\n {\n 'name': 'status_seqid',\n 'type': 'int'\n },\n {\n 'name': 'project_id_id',\n 'type': 'int'\n },\n {\n 'name': 'project_id_name',\n 'type': 'string'\n },\n {\n 'name': 'project_id_remarks',\n 'type': 'string'\n },\n {\n 'name': 'project_id_owner_id',\n 'type': 'int'\n },\n {\n 'name': 'project_id_code',\n 'type': 'string'\n },\n {\n 'name': 'project_id_active',\n 'type': 'int'\n },\n {\n 'name': 'project_id_type',\n 'type': 'string'\n },\n {\n 'name': 'project_id_client_id',\n 'type': 'int'\n },\n {\n 'name': 'project_id_team_id',\n 'type': 'int'\n },\n {\n 'name': 'project_id_file_location',\n 'type': 'string'\n },\n {\n 'name': 'project_id_open_date',\n 'type': 'date'\n },\n {\n 'name': 'project_id_open_by',\n 'type': 'int'\n },\n {\n 'name': 'project_id_close_date',\n 'type': 'date'\n },\n {\n 'name': 'project_id_countries',\n 'type': 'string'\n },\n {\n 'name': 'project_id_languages',\n 'type': 'string'\n },\n {\n 'name': 'project_id_agency_id',\n 'type': 'int'\n },\n {\n 'name': 'milestone_id_id',\n 'type': 'int'\n },\n {\n 'name': 'milestone_id_name',\n 'type': 'string'\n },\n {\n 'name': 'milestone_id_description',\n 'type': 'string'\n },\n {\n 'name': 'milestone_id_startdate',\n 'type': 'date'\n },\n {\n 'name': 'milestone_id_duedate',\n 'type': 'date'\n },\n {\n 'name': 'milestone_id_completed',\n 'type': 'date'\n },\n {\n 'name': 'milestone_id_deleted',\n 'type': 'int'\n },\n {\n 'name': 'milestone_id_created',\n 'type': 'int'\n },\n {\n 'name': 'milestone_id_updated',\n 'type': 'int'\n },\n {\n 'name': 'milestone_id_project_id',\n 'type': 'int'\n } */\n]",
370 "totalProperty" : "total"
375 "xtype" : "ColumnModel",
376 "header" : "Summary",
378 "$ renderer" : "function(v) { return String.format('{0}', v); }",
379 "$ xns" : "Roo.grid",
380 "* prop" : "colModel[]",
381 "dataIndex" : "summary"
389 "xtype" : "ContentPanel",
395 "* prop" : "toolbar",
398 "text" : "Working on this",
400 "$ xns" : "Roo.Toolbar"
403 "text" : "Completed",
405 "$ xns" : "Roo.Toolbar"
408 "text" : "Not on Project work",
410 "$ xns" : "Roo.Toolbar"
416 "|actioncomplete" : "function(_self,action)\n{\n \n \n Roo.log('action complete');\n Roo.log(action);\n if (action.type == 'setdata') {\n\n _this.isClose = false; // force flag..\n \n if (this.activeRecord) {\n this.saveActive( this.activeRecord);\n }\n \n \n \n // show form..\n if (!action.data || !action.data.action) {\n _this.form.el.mask('select something'); \n this.activeRecord = false;\n _this.form.reset(); \n return;\n }\n _this.form.el.unmask(); \n \n this.activeRecord = action.rec;\n \n \n\n \n \n // should save here if we are 'dirty!';\n _this.form.reset();\n _this.form.setValues(action.data);\n // set the dates so they are correct..\n _this.form.setValues( { \n \n action_dt : action.data.action_dt.format('Y-m-d H:i:s'),\n entry_dt: action.data.action_dt.format('Y-m-d'),\n qtyvalue2 : action.data.qtyvalue\n });\n // set the default values..\n // for dirty test...\n _this.form.items.each(function(f) {\n f.originalValue = f.getValue();\n });\n \n \n \n \n // form is set to an event.\n \n \n \n return;\n }\n \n \n if (action.type == 'load') {\n \n return;\n }\n if (action.type =='submit') {\n // set this on the close button..\n if (_this.isClose) {\n _this.dialog.hide();\n }\n \n if (_this.callback) {\n _this.callback.call(_this, _this.form.getValues());\n }\n\n return;\n }\n}\n",
417 "|rendered" : "function (form)\n{\n _this.form= form;\n}\n"
419 "$ url" : "baseURL + '/Roo/cash_invoice_entry.php'",
420 "$ saveActive" : "function(rec, effort) {\n \n effort = effort || 0;\n \n\n if (!rec) {\n Roo.log(\"ERROR: saveActive: record not set \");\n return;\n }\n\n var d = Roo.apply({}, rec.data); // copy it so changes do not affect crap...\n \n var upd = (new Date()).format('Y-m-d H:i:s');\n \n \n \n \n //Roo.log(\"SAVE IT: \" + Roo.encode(d) );\n \n // return;\n var at = typeof(d.action_dt) == 'string' ? Date.parseDate(d.action_dt, 'Y-m-d H:i:s') : d.action_dt;\n \n new Pman.Request({\n url : baseURL + '/Roo/Cash_invoice_entry.php',\n method : 'POST',\n params : {\n id : d.id,\n entry_dt: at.format('Y-m-d'), // this should not change for posted entries really...\n entered_dt: upd, \n action_dt : at.format('Y-m-d H:i:s'),\n qtyvalue : d.qtyvalue,\n action: 'Hours',\n description: d.description,\n pricevalue: d.pricevalue, \n project_id : d.project_id,\n staff_id : d.staff_id * 1 ? d.staff_id : Pman.Login.authUser.id,\n ticket_id : d.ticket_id ? d.ticket_id : 0\n \n },\n success : function(res)\n {\n // everythings fine..\n \n // we have to update the view object... now...\n // we can not reload as that may blank out data..\n if (!rec.data.id) {\n Roo.log(\"Setting data id to \" + res.data.id);\n rec.set('id', res.data.id);\n\n }\n\n \n },\n failure : function()\n {\n effort++;\n if (effort > 3) {\n Roo.MessageBox.alert(\"Error\", \"Saving timesheet failed\");\n return;\n }\n _this.form.saveActive(rec, effort);\n }\n \n });\n}\n",
421 "activeData" : false,
422 "style" : "margin-left:10px;",
425 "$ xns" : "Roo.form",
429 "render" : "function (_self)\n{\n _this.projectSel = _self;\n}",
430 "beforeselect" : "function (combo, record, index)\n{\n\n Roo.log('save it');\n var sel = _this.grid.ds.selectedBar();\n \n if (!sel) {\n Roo.log(\"nothing selected?\");\n return;\n }\n \n // active record should be the same thing.\n sel.set('project_id', record.data.id);\n sel.set('project_id_code', record.data.code);\n sel.set('project_id_name', record.data.name);\n \n \n _this.grid.ds.updateBar(sel);\n \n \n \n}"
433 "triggerAction" : "all",
434 "fieldLabel" : "Project",
435 "forceSelection" : true,
436 "selectOnFocus" : true,
438 "displayField" : "name",
439 "emptyText" : "Select Project",
440 "hiddenName" : "project_id",
443 "xtype" : "ComboBox",
444 "allowBlank" : false,
448 "$ xns" : "Roo.form",
449 "name" : "project_id_name",
450 "qtip" : "Select Projects",
451 "queryParam" : "query[name]",
452 "tpl" : "<div class=\"x-grid-cell-text x-btn button\"><b>{code}</b> - {name}</div>",
453 "loadingText" : "Searching...",
457 "|beforeload" : "function (_self, o){\n o.params = o.params || {};\n o.params['query[project_filter]'] = 'P,N,U'; // actually this is the default.\n \n // set more here\n}\n"
461 "$ sortInfo" : "{ field: 'code', direction: 'ASC' }",
462 "$ xns" : "Roo.data",
466 "$ url" : "baseURL + '/Roo/Projects.php'",
467 "xtype" : "HttpProxy",
469 "$ xns" : "Roo.data",
475 "xtype" : "JsonReader",
476 "$ xns" : "Roo.data",
477 "$ fields" : "[{\"name\":\"id\",\"type\":\"int\"},{\"name\":\"name\",\"type\":\"string\"}]",
479 "totalProperty" : "total"
486 "labelAlign" : "top",
489 "$ xns" : "Roo.form",
493 "keyup" : "function (_self, e)\n{\n _this.selectedRec.set('description', this.getValue());\n _this.grid.dataSource.updateBar(_this.selectedRec);\n \n}"
495 "fieldLabel" : "Description",
496 "xtype" : "TextArea",
498 "$ xns" : "Roo.form",
499 "name" : "description",
506 "$ xns" : "Roo.form",
511 "$ xns" : "Roo.form",
516 "$ xns" : "Roo.form",
521 "$ xns" : "Roo.form",
526 "$ xns" : "Roo.form",
531 "$ xns" : "Roo.form",
536 "$ xns" : "Roo.form",
553 "title" : "Plan Time",
554 "xtype" : "NestedLayoutPanel",
558 "xtype" : "BorderLayout",
563 "title" : "Open Tasks (Unassigned) / Select Project",
564 "xtype" : "LayoutRegion",
570 "xtype" : "LayoutRegion",
571 "title" : "Assigned to / Prioritized (all projects)",
577 "|activate" : "function() {\n _this.openpanel = this;\n if (_this.opengrid) {\n // _this.opengrid.footer.onClick('first');\n }\n}"
581 "background" : false,
582 "title" : "mtrack_ticket",
583 "xtype" : "GridPanel",
584 "fitContainer" : true,
586 "tableName" : "mtrack_ticket",
590 "|rowdblclick" : "function (_self, rowIndex, e)\n{\n if (!_this.dialog) { return; }\n _this.dialog.show( this.getDataSource().getAt(rowIndex), function() {\n _this.grid.footer.onClick('first');\n }); \n}\n",
591 "|render" : "function() \n{\n _this.opengrid = this; \n //_this.dialog = Pman.Dialog.FILL_IN\n if (_this.openpanel.active) {\n //this.footer.onClick('first');\n }\n}"
593 "autoExpandColumn" : "summary",
596 "$ xns" : "Roo.grid",
602 "* prop" : "toolbar",
606 "triggerAction" : "all",
607 "fieldLabel" : "mtrack_ticket",
608 "forceSelection" : true,
609 "selectOnFocus" : true,
611 "emptyText" : "Select Project",
616 "xtype" : "ComboBox",
620 "$ xns" : "Roo.form",
622 "qtip" : "Select mtrack_ticket",
624 "tpl" : "<div class=\"x-grid-cell-text x-btn button\"><b>{name}</b> </div>",
625 "loadingText" : "Searching...",
629 "|beforeload" : "function (_self, o){\n o.params = o.params || {};\n // set more here\n}\n"
633 "$ xns" : "Roo.data",
634 "$ sortInfo" : "{ direction : 'ASC', field: 'id' }",
638 "$ url" : "baseURL + '/Roo/mtrack_ticket.php'",
639 "xtype" : "HttpProxy",
641 "$ xns" : "Roo.data",
647 "xtype" : "JsonReader",
648 "$ xns" : "Roo.data",
649 "$ fields" : "[{\"name\":\"id\",\"type\":\"int\"},{\"name\":\"summary\",\"type\":\"string\"}]",
651 "totalProperty" : "total"
662 "$ sortInfo" : "{ field : 'summary', direction: 'ASC' }",
663 "$ xns" : "Roo.data",
664 "* prop" : "dataSource",
667 "$ url" : "baseURL + '/Roo/mtrack_ticket.php'",
668 "xtype" : "HttpProxy",
670 "$ xns" : "Roo.data",
676 "xtype" : "JsonReader",
677 "$ xns" : "Roo.data",
678 "$ fields" : "[\n {\n 'name': 'id',\n 'type': 'int'\n },\n {\n 'name': 'project_id',\n 'type': 'int'\n },\n {\n 'name': 'summary',\n 'type': 'string'\n },\n {\n 'name': 'description',\n 'type': 'string'\n },\n {\n 'name': 'changelog',\n 'type': 'string'\n },\n {\n 'name': 'created',\n 'type': 'int'\n },\n {\n 'name': 'updated',\n 'type': 'int'\n },\n {\n 'name': 'owner_id',\n 'type': 'int'\n },\n {\n 'name': 'priority_id',\n 'type': 'int'\n },\n {\n 'name': 'severity_id',\n 'type': 'int'\n },\n {\n 'name': 'classification_id',\n 'type': 'int'\n },\n {\n 'name': 'resolution_id',\n 'type': 'int'\n },\n {\n 'name': 'cc',\n 'type': 'string'\n },\n {\n 'name': 'status',\n 'type': 'int'\n },\n {\n 'name': 'estimated',\n 'type': 'float'\n },\n {\n 'name': 'spent',\n 'type': 'float'\n },\n {\n 'name': 'x_fieldname',\n 'type': 'string'\n },\n {\n 'name': 'developer_id',\n 'type': 'int'\n },\n {\n 'name': 'milestone_id',\n 'type': 'int'\n },\n {\n 'name': 'updated_id',\n 'type': 'int'\n },\n {\n 'name': 'updated_person_id',\n 'type': 'int'\n },\n {\n 'name': 'updated_ontable',\n 'type': 'string'\n },\n {\n 'name': 'updated_onid',\n 'type': 'int'\n },\n {\n 'name': 'updated_changedate',\n 'type': 'date'\n },\n {\n 'name': 'updated_reason',\n 'type': 'string'\n },\n {\n 'name': 'created_id',\n 'type': 'int'\n },\n {\n 'name': 'created_person_id',\n 'type': 'int'\n },\n {\n 'name': 'created_ontable',\n 'type': 'string'\n },\n {\n 'name': 'created_onid',\n 'type': 'int'\n },\n {\n 'name': 'created_changedate',\n 'type': 'date'\n },\n {\n 'name': 'created_reason',\n 'type': 'string'\n },\n {\n 'name': 'owner_id_id',\n 'type': 'int'\n },\n {\n 'name': 'owner_id_office_id',\n 'type': 'int'\n },\n {\n 'name': 'owner_id_name',\n 'type': 'string'\n },\n {\n 'name': 'owner_id_phone',\n 'type': 'string'\n },\n {\n 'name': 'owner_id_fax',\n 'type': 'string'\n },\n {\n 'name': 'owner_id_email',\n 'type': 'string'\n },\n {\n 'name': 'owner_id_company_id',\n 'type': 'int'\n },\n {\n 'name': 'owner_id_role',\n 'type': 'string'\n },\n {\n 'name': 'owner_id_active',\n 'type': 'int'\n },\n {\n 'name': 'owner_id_remarks',\n 'type': 'string'\n },\n {\n 'name': 'owner_id_passwd',\n 'type': 'string'\n },\n {\n 'name': 'owner_id_owner_id',\n 'type': 'int'\n },\n {\n 'name': 'owner_id_lang',\n 'type': 'string'\n },\n {\n 'name': 'owner_id_no_reset_sent',\n 'type': 'int'\n },\n {\n 'name': 'owner_id_action_type',\n 'type': 'string'\n },\n {\n 'name': 'owner_id_project_id',\n 'type': 'int'\n },\n {\n 'name': 'owner_id_deleted_by',\n 'type': 'int'\n },\n {\n 'name': 'owner_id_deleted_dt',\n 'type': 'date'\n },\n {\n 'name': 'developer_id_id',\n 'type': 'int'\n },\n {\n 'name': 'developer_id_office_id',\n 'type': 'int'\n },\n {\n 'name': 'developer_id_name',\n 'type': 'string'\n },\n {\n 'name': 'developer_id_phone',\n 'type': 'string'\n },\n {\n 'name': 'developer_id_fax',\n 'type': 'string'\n },\n {\n 'name': 'developer_id_email',\n 'type': 'string'\n },\n {\n 'name': 'developer_id_company_id',\n 'type': 'int'\n },\n {\n 'name': 'developer_id_role',\n 'type': 'string'\n },\n {\n 'name': 'developer_id_active',\n 'type': 'int'\n },\n {\n 'name': 'developer_id_remarks',\n 'type': 'string'\n },\n {\n 'name': 'developer_id_passwd',\n 'type': 'string'\n },\n {\n 'name': 'developer_id_owner_id',\n 'type': 'int'\n },\n {\n 'name': 'developer_id_lang',\n 'type': 'string'\n },\n {\n 'name': 'developer_id_no_reset_sent',\n 'type': 'int'\n },\n {\n 'name': 'developer_id_action_type',\n 'type': 'string'\n },\n {\n 'name': 'developer_id_project_id',\n 'type': 'int'\n },\n {\n 'name': 'developer_id_deleted_by',\n 'type': 'int'\n },\n {\n 'name': 'developer_id_deleted_dt',\n 'type': 'date'\n },\n {\n 'name': 'priority_id_id',\n 'type': 'int'\n },\n {\n 'name': 'priority_id_etype',\n 'type': 'string'\n },\n {\n 'name': 'priority_id_name',\n 'type': 'string'\n },\n {\n 'name': 'priority_id_active',\n 'type': 'int'\n },\n {\n 'name': 'priority_id_seqid',\n 'type': 'int'\n },\n {\n 'name': 'severity_id_id',\n 'type': 'int'\n },\n {\n 'name': 'severity_id_etype',\n 'type': 'string'\n },\n {\n 'name': 'severity_id_name',\n 'type': 'string'\n },\n {\n 'name': 'severity_id_active',\n 'type': 'int'\n },\n {\n 'name': 'severity_id_seqid',\n 'type': 'int'\n },\n {\n 'name': 'classification_id_id',\n 'type': 'int'\n },\n {\n 'name': 'classification_id_etype',\n 'type': 'string'\n },\n {\n 'name': 'classification_id_name',\n 'type': 'string'\n },\n {\n 'name': 'classification_id_active',\n 'type': 'int'\n },\n {\n 'name': 'classification_id_seqid',\n 'type': 'int'\n },\n {\n 'name': 'resolution_id_id',\n 'type': 'int'\n },\n {\n 'name': 'resolution_id_etype',\n 'type': 'string'\n },\n {\n 'name': 'resolution_id_name',\n 'type': 'string'\n },\n {\n 'name': 'resolution_id_active',\n 'type': 'int'\n },\n {\n 'name': 'resolution_id_seqid',\n 'type': 'int'\n },\n {\n 'name': 'status_id',\n 'type': 'int'\n },\n {\n 'name': 'status_etype',\n 'type': 'string'\n },\n {\n 'name': 'status_name',\n 'type': 'string'\n },\n {\n 'name': 'status_active',\n 'type': 'int'\n },\n {\n 'name': 'status_seqid',\n 'type': 'int'\n },\n {\n 'name': 'project_id_id',\n 'type': 'int'\n },\n {\n 'name': 'project_id_name',\n 'type': 'string'\n },\n {\n 'name': 'project_id_remarks',\n 'type': 'string'\n },\n {\n 'name': 'project_id_owner_id',\n 'type': 'int'\n },\n {\n 'name': 'project_id_code',\n 'type': 'string'\n },\n {\n 'name': 'project_id_active',\n 'type': 'int'\n },\n {\n 'name': 'project_id_type',\n 'type': 'string'\n },\n {\n 'name': 'project_id_client_id',\n 'type': 'int'\n },\n {\n 'name': 'project_id_team_id',\n 'type': 'int'\n },\n {\n 'name': 'project_id_file_location',\n 'type': 'string'\n },\n {\n 'name': 'project_id_open_date',\n 'type': 'date'\n },\n {\n 'name': 'project_id_open_by',\n 'type': 'int'\n },\n {\n 'name': 'project_id_close_date',\n 'type': 'date'\n },\n {\n 'name': 'project_id_countries',\n 'type': 'string'\n },\n {\n 'name': 'project_id_languages',\n 'type': 'string'\n },\n {\n 'name': 'project_id_agency_id',\n 'type': 'int'\n },\n {\n 'name': 'milestone_id_id',\n 'type': 'int'\n },\n {\n 'name': 'milestone_id_name',\n 'type': 'string'\n },\n {\n 'name': 'milestone_id_description',\n 'type': 'string'\n },\n {\n 'name': 'milestone_id_startdate',\n 'type': 'date'\n },\n {\n 'name': 'milestone_id_duedate',\n 'type': 'date'\n },\n {\n 'name': 'milestone_id_completed',\n 'type': 'date'\n },\n {\n 'name': 'milestone_id_deleted',\n 'type': 'int'\n },\n {\n 'name': 'milestone_id_created',\n 'type': 'int'\n },\n {\n 'name': 'milestone_id_updated',\n 'type': 'int'\n },\n {\n 'name': 'milestone_id_project_id',\n 'type': 'int'\n }\n]",
680 "totalProperty" : "total"
685 "xtype" : "ColumnModel",
686 "header" : "Summary",
688 "$ renderer" : "function(v) { return String.format('{0}', v); }",
689 "$ xns" : "Roo.grid",
690 "* prop" : "colModel[]",
691 "dataIndex" : "summary"
699 "|activate" : "function() {\n _this.openpanel = this;\n if (_this.opengrid) {\n // _this.opengrid.footer.onClick('first');\n }\n}"
703 "background" : false,
704 "title" : "mtrack_ticket",
705 "xtype" : "GridPanel",
706 "fitContainer" : true,
708 "tableName" : "mtrack_ticket",
712 "|rowdblclick" : "function (_self, rowIndex, e)\n{\n if (!_this.dialog) { return; }\n _this.dialog.show( this.getDataSource().getAt(rowIndex), function() {\n _this.grid.footer.onClick('first');\n }); \n}\n",
713 "|render" : "function() \n{\n _this.opengrid = this; \n //_this.dialog = Pman.Dialog.FILL_IN\n if (_this.openpanel.active) {\n //this.footer.onClick('first');\n }\n}"
715 "autoExpandColumn" : "summary",
718 "$ xns" : "Roo.grid",
724 "* prop" : "toolbar",
728 "triggerAction" : "all",
729 "fieldLabel" : "mtrack_ticket",
730 "forceSelection" : true,
731 "selectOnFocus" : true,
733 "emptyText" : "Select Person",
738 "xtype" : "ComboBox",
742 "$ xns" : "Roo.form",
744 "qtip" : "Select mtrack_ticket",
746 "tpl" : "<div class=\"x-grid-cell-text x-btn button\"><b>{name}</b> </div>",
747 "loadingText" : "Searching...",
751 "|beforeload" : "function (_self, o){\n o.params = o.params || {};\n // set more here\n}\n"
755 "$ xns" : "Roo.data",
756 "$ sortInfo" : "{ direction : 'ASC', field: 'id' }",
760 "$ url" : "baseURL + '/Roo/mtrack_ticket.php'",
761 "xtype" : "HttpProxy",
763 "$ xns" : "Roo.data",
769 "xtype" : "JsonReader",
770 "$ xns" : "Roo.data",
771 "$ fields" : "[{\"name\":\"id\",\"type\":\"int\"},{\"name\":\"summary\",\"type\":\"string\"}]",
773 "totalProperty" : "total"
784 "$ sortInfo" : "{ field : 'summary', direction: 'ASC' }",
785 "$ xns" : "Roo.data",
786 "* prop" : "dataSource",
789 "$ url" : "baseURL + '/Roo/mtrack_ticket.php'",
790 "xtype" : "HttpProxy",
792 "$ xns" : "Roo.data",
798 "xtype" : "JsonReader",
799 "$ xns" : "Roo.data",
800 "$ fields" : "[\n {\n 'name': 'id',\n 'type': 'int'\n },\n {\n 'name': 'project_id',\n 'type': 'int'\n },\n {\n 'name': 'summary',\n 'type': 'string'\n },\n {\n 'name': 'description',\n 'type': 'string'\n },\n {\n 'name': 'changelog',\n 'type': 'string'\n },\n {\n 'name': 'created',\n 'type': 'int'\n },\n {\n 'name': 'updated',\n 'type': 'int'\n },\n {\n 'name': 'owner_id',\n 'type': 'int'\n },\n {\n 'name': 'priority_id',\n 'type': 'int'\n },\n {\n 'name': 'severity_id',\n 'type': 'int'\n },\n {\n 'name': 'classification_id',\n 'type': 'int'\n },\n {\n 'name': 'resolution_id',\n 'type': 'int'\n },\n {\n 'name': 'cc',\n 'type': 'string'\n },\n {\n 'name': 'status',\n 'type': 'int'\n },\n {\n 'name': 'estimated',\n 'type': 'float'\n },\n {\n 'name': 'spent',\n 'type': 'float'\n },\n {\n 'name': 'x_fieldname',\n 'type': 'string'\n },\n {\n 'name': 'developer_id',\n 'type': 'int'\n },\n {\n 'name': 'milestone_id',\n 'type': 'int'\n },\n {\n 'name': 'updated_id',\n 'type': 'int'\n },\n {\n 'name': 'updated_person_id',\n 'type': 'int'\n },\n {\n 'name': 'updated_ontable',\n 'type': 'string'\n },\n {\n 'name': 'updated_onid',\n 'type': 'int'\n },\n {\n 'name': 'updated_changedate',\n 'type': 'date'\n },\n {\n 'name': 'updated_reason',\n 'type': 'string'\n },\n {\n 'name': 'created_id',\n 'type': 'int'\n },\n {\n 'name': 'created_person_id',\n 'type': 'int'\n },\n {\n 'name': 'created_ontable',\n 'type': 'string'\n },\n {\n 'name': 'created_onid',\n 'type': 'int'\n },\n {\n 'name': 'created_changedate',\n 'type': 'date'\n },\n {\n 'name': 'created_reason',\n 'type': 'string'\n },\n {\n 'name': 'owner_id_id',\n 'type': 'int'\n },\n {\n 'name': 'owner_id_office_id',\n 'type': 'int'\n },\n {\n 'name': 'owner_id_name',\n 'type': 'string'\n },\n {\n 'name': 'owner_id_phone',\n 'type': 'string'\n },\n {\n 'name': 'owner_id_fax',\n 'type': 'string'\n },\n {\n 'name': 'owner_id_email',\n 'type': 'string'\n },\n {\n 'name': 'owner_id_company_id',\n 'type': 'int'\n },\n {\n 'name': 'owner_id_role',\n 'type': 'string'\n },\n {\n 'name': 'owner_id_active',\n 'type': 'int'\n },\n {\n 'name': 'owner_id_remarks',\n 'type': 'string'\n },\n {\n 'name': 'owner_id_passwd',\n 'type': 'string'\n },\n {\n 'name': 'owner_id_owner_id',\n 'type': 'int'\n },\n {\n 'name': 'owner_id_lang',\n 'type': 'string'\n },\n {\n 'name': 'owner_id_no_reset_sent',\n 'type': 'int'\n },\n {\n 'name': 'owner_id_action_type',\n 'type': 'string'\n },\n {\n 'name': 'owner_id_project_id',\n 'type': 'int'\n },\n {\n 'name': 'owner_id_deleted_by',\n 'type': 'int'\n },\n {\n 'name': 'owner_id_deleted_dt',\n 'type': 'date'\n },\n {\n 'name': 'developer_id_id',\n 'type': 'int'\n },\n {\n 'name': 'developer_id_office_id',\n 'type': 'int'\n },\n {\n 'name': 'developer_id_name',\n 'type': 'string'\n },\n {\n 'name': 'developer_id_phone',\n 'type': 'string'\n },\n {\n 'name': 'developer_id_fax',\n 'type': 'string'\n },\n {\n 'name': 'developer_id_email',\n 'type': 'string'\n },\n {\n 'name': 'developer_id_company_id',\n 'type': 'int'\n },\n {\n 'name': 'developer_id_role',\n 'type': 'string'\n },\n {\n 'name': 'developer_id_active',\n 'type': 'int'\n },\n {\n 'name': 'developer_id_remarks',\n 'type': 'string'\n },\n {\n 'name': 'developer_id_passwd',\n 'type': 'string'\n },\n {\n 'name': 'developer_id_owner_id',\n 'type': 'int'\n },\n {\n 'name': 'developer_id_lang',\n 'type': 'string'\n },\n {\n 'name': 'developer_id_no_reset_sent',\n 'type': 'int'\n },\n {\n 'name': 'developer_id_action_type',\n 'type': 'string'\n },\n {\n 'name': 'developer_id_project_id',\n 'type': 'int'\n },\n {\n 'name': 'developer_id_deleted_by',\n 'type': 'int'\n },\n {\n 'name': 'developer_id_deleted_dt',\n 'type': 'date'\n },\n {\n 'name': 'priority_id_id',\n 'type': 'int'\n },\n {\n 'name': 'priority_id_etype',\n 'type': 'string'\n },\n {\n 'name': 'priority_id_name',\n 'type': 'string'\n },\n {\n 'name': 'priority_id_active',\n 'type': 'int'\n },\n {\n 'name': 'priority_id_seqid',\n 'type': 'int'\n },\n {\n 'name': 'severity_id_id',\n 'type': 'int'\n },\n {\n 'name': 'severity_id_etype',\n 'type': 'string'\n },\n {\n 'name': 'severity_id_name',\n 'type': 'string'\n },\n {\n 'name': 'severity_id_active',\n 'type': 'int'\n },\n {\n 'name': 'severity_id_seqid',\n 'type': 'int'\n },\n {\n 'name': 'classification_id_id',\n 'type': 'int'\n },\n {\n 'name': 'classification_id_etype',\n 'type': 'string'\n },\n {\n 'name': 'classification_id_name',\n 'type': 'string'\n },\n {\n 'name': 'classification_id_active',\n 'type': 'int'\n },\n {\n 'name': 'classification_id_seqid',\n 'type': 'int'\n },\n {\n 'name': 'resolution_id_id',\n 'type': 'int'\n },\n {\n 'name': 'resolution_id_etype',\n 'type': 'string'\n },\n {\n 'name': 'resolution_id_name',\n 'type': 'string'\n },\n {\n 'name': 'resolution_id_active',\n 'type': 'int'\n },\n {\n 'name': 'resolution_id_seqid',\n 'type': 'int'\n },\n {\n 'name': 'status_id',\n 'type': 'int'\n },\n {\n 'name': 'status_etype',\n 'type': 'string'\n },\n {\n 'name': 'status_name',\n 'type': 'string'\n },\n {\n 'name': 'status_active',\n 'type': 'int'\n },\n {\n 'name': 'status_seqid',\n 'type': 'int'\n },\n {\n 'name': 'project_id_id',\n 'type': 'int'\n },\n {\n 'name': 'project_id_name',\n 'type': 'string'\n },\n {\n 'name': 'project_id_remarks',\n 'type': 'string'\n },\n {\n 'name': 'project_id_owner_id',\n 'type': 'int'\n },\n {\n 'name': 'project_id_code',\n 'type': 'string'\n },\n {\n 'name': 'project_id_active',\n 'type': 'int'\n },\n {\n 'name': 'project_id_type',\n 'type': 'string'\n },\n {\n 'name': 'project_id_client_id',\n 'type': 'int'\n },\n {\n 'name': 'project_id_team_id',\n 'type': 'int'\n },\n {\n 'name': 'project_id_file_location',\n 'type': 'string'\n },\n {\n 'name': 'project_id_open_date',\n 'type': 'date'\n },\n {\n 'name': 'project_id_open_by',\n 'type': 'int'\n },\n {\n 'name': 'project_id_close_date',\n 'type': 'date'\n },\n {\n 'name': 'project_id_countries',\n 'type': 'string'\n },\n {\n 'name': 'project_id_languages',\n 'type': 'string'\n },\n {\n 'name': 'project_id_agency_id',\n 'type': 'int'\n },\n {\n 'name': 'milestone_id_id',\n 'type': 'int'\n },\n {\n 'name': 'milestone_id_name',\n 'type': 'string'\n },\n {\n 'name': 'milestone_id_description',\n 'type': 'string'\n },\n {\n 'name': 'milestone_id_startdate',\n 'type': 'date'\n },\n {\n 'name': 'milestone_id_duedate',\n 'type': 'date'\n },\n {\n 'name': 'milestone_id_completed',\n 'type': 'date'\n },\n {\n 'name': 'milestone_id_deleted',\n 'type': 'int'\n },\n {\n 'name': 'milestone_id_created',\n 'type': 'int'\n },\n {\n 'name': 'milestone_id_updated',\n 'type': 'int'\n },\n {\n 'name': 'milestone_id_project_id',\n 'type': 'int'\n }\n]",
802 "totalProperty" : "total"
807 "xtype" : "ColumnModel",
808 "header" : "Summary",
810 "$ renderer" : "function(v) { return String.format('{0}', v); }",
811 "$ xns" : "Roo.grid",
812 "* prop" : "colModel[]",
813 "dataIndex" : "summary"