php warnings
[Pman.MTrack] / Pman.Tab.MTrackMilestone.js
index 8aaf3a5..973030a 100644 (file)
 
 // Auto generated file - created by app.Builder.js- do not edit directly (at present!)
 
+Roo.namespace('Pman.Tab');
 
+Pman.Tab.MTrackMilestone = new Roo.XComponent({
 
-// register the module first
-Pman.on('beforeload', function()
-{
-    Pman.register({
-        modKey : '200-Pman.Tab.MTrackMilestone',
-        module : Pman.Tab.MTrackMilestone,
-        region : 'center',
-        parent : Pman.Tab.MTrack,
-        name : "Pman.Tab.MTrackMilestone",
-        disabled : false, 
-        permname: '' 
-    });
-});
-
-Pman.Tab.MTrackMilestone = new Roo.util.Observable({
-
-    panel : false,
-    disabled : false,
-    parentLayout:  false,
-
-    add : function(parentLayout, region)
-    {
-
-        var _this = this;
-        this.parentLayout = parentLayout;
-
-        this.panel = parentLayout.addxtype({
-            xtype: 'GridPanel',
-            xns: Roo,
-            listeners : {
-                activate : function() {
-                    _this.panel = this;
-                    if (_this.grid) {
-                        _this.grid.footer.onClick('first');
-                    }
-                }
-            },
-            background : true,
-            fitContainer : true,
-            fitToframe : true,
-            region : 'center',
-            tableName : 'mtrack_milestone',
-            title : "Milestones",
-            grid : {
-                xtype: 'Grid',
-                xns: Roo.grid,
-                autoExpandColumn : 'name',
-                loadMask : true,
-                listeners : {
-                    render : function() 
-                    {
-                        _this.grid = this; 
-                        //_this.dialog = Pman.Dialog.FILL_IN
-                        if (_this.panel.active) {
-                           this.footer.onClick('first');
-                        }
-                    },
-                    rowdblclick : function (_self, rowIndex, e)
-                    {
-                        if (!_this.dialog) return;
-                        _this.dialog.show( this.getDataSource().getAt(rowIndex), function() {
-                            _this.grid.footer.onClick('first');
-                        }); 
-                    }
-                },
-                dataSource : {
-                    xtype: 'Store',
-                    xns: Roo.data,
-                    listeners : {
-                        beforeload : function (_self, options)
-                        {
-                            options.params._with_active_tickets = 1;
-                        }
-                    },
-                    remoteSort : true,
-                    sortInfo : { field : 'duedate', direction: 'ASC' },
-                    proxy : {
-                        xtype: 'HttpProxy',
-                        xns: Roo.data,
-                        method : 'GET',
-                        url : baseURL + '/Roo/mtrack_milestone.php'
-                    },
-                    reader : {
-                        xtype: 'JsonReader',
-                        xns: Roo.data,
-                        totalProperty : 'total',
-                        root : 'data',
-                        id : 'id',
-                        fields : [
-                            {
-                                'name': 'id',
-                                'type': 'int'
-                            },
-                            {
-                                'name': 'name',
-                                'type': 'string'
-                            },
-                            {
-                                'name': 'description',
-                                'type': 'string'
-                            },
-                            {
-                                'name': 'startdate',
-                                'type': 'date',
-                                'dateFormat': 'Y-m-d'
-                            },
-                            {
-                                'name': 'duedate',
-                                'type': 'date',
-                                'dateFormat': 'Y-m-d'
-                            },
-                            {
-                                'name': 'completed',
-                                'type': 'date',
-                                'dateFormat': 'Y-m-d'
-                            },
-                            {
-                                'name': 'deleted',
-                                'type': 'int'
-                            },
-                            {
-                                'name': 'created',
-                                'type': 'int'
-                            },
-                            {
-                                'name': 'updated',
-                                'type': 'int'
-                            },
-                            {
-                                'name': 'project_id',
-                                'type': 'int'
-                            },
-                            {
-                                'name': 'deleted_id',
-                                'type': 'int'
-                            },
-                            {
-                                'name': 'deleted_person_id',
-                                'type': 'int'
-                            },
-                            {
-                                'name': 'deleted_ontable',
-                                'type': 'string'
-                            },
-                            {
-                                'name': 'deleted_onid',
-                                'type': 'int'
-                            },
-                            {
-                                'name': 'deleted_changedate',
-                                'type': 'date'
-                            },
-                            {
-                                'name': 'deleted_reason',
-                                'type': 'string'
-                            },
-                            {
-                                'name': 'updated_id',
-                                'type': 'int'
-                            },
-                            {
-                                'name': 'updated_person_id',
-                                'type': 'int'
-                            },
-                            {
-                                'name': 'updated_ontable',
-                                'type': 'string'
-                            },
-                            {
-                                'name': 'updated_onid',
-                                'type': 'int'
-                            },
-                            {
-                                'name': 'updated_changedate',
-                                'type': 'date'
-                            },
-                            {
-                                'name': 'updated_reason',
-                                'type': 'string'
-                            },
-                            {
-                                'name': 'created_id',
-                                'type': 'int'
-                            },
-                            {
-                                'name': 'created_person_id',
-                                'type': 'int'
-                            },
-                            {
-                                'name': 'created_ontable',
-                                'type': 'string'
-                            },
-                            {
-                                'name': 'created_onid',
-                                'type': 'int'
-                            },
-                            {
-                                'name': 'created_changedate',
-                                'type': 'date'
-                            },
-                            {
-                                'name': 'created_reason',
-                                'type': 'string'
-                            }
-                        ]
-                    }
-                },
-                footer : {
-                    xtype: 'PagingToolbar',
-                    xns: Roo,
-                    pageSize : 25,
-                    displayInfo : true,
-                    displayMsg : 'Displaying mtrack_milestone{0} - {1} of {2}',
-                    emptyMsg : 'No mtrack_milestone found'
-                },
-                toolbar : {
-                    xtype: 'Toolbar',
-                    xns: Roo,
-                    items : [
-                        {
-                            xtype: 'Fill',
-                            xns: Roo.Toolbar
-                        },
-                        {
-                            xtype: 'Button',
-                            xns: Roo.Toolbar,
-                            text : "Add",
-                            cls : 'x-btn-text-icon',
-                            icon : Roo.rootURL + 'images/default/dd/drop-add.gif',
-                            listeners : {
-                                click : function()
-                                {
-                                    if (!_this.dialog) return;
-                                    _this.dialog.show( { id : 0 } , function() {
-                                        _this.grid.footer.onClick('first');
-                                   }); 
-                                }
-                            }
-                        },
-                        {
-                            xtype: 'Button',
-                            xns: Roo.Toolbar,
-                            text : "Edit",
-                            cls : 'x-btn-text-icon',
-                            icon : Roo.rootURL + 'images/default/tree/leaf.gif',
-                            listeners : {
-                                click : function()
-                                {
-                                    var s = _this.grid.getSelectionModel().getSelections();
-                                    if (!s.length || (s.length > 1))  {
-                                        Roo.MessageBox.alert("Error", s.length ? "Select only one Row" : "Select a Row");
-                                        return;
-                                    }
-                                    if (!_this.dialog) return;
-                                    _this.dialog.show(s[0].data, function() {
-                                        _this.grid.footer.onClick('first');
-                                    }); 
-                                    
-                                }
-                            }
-                        },
-                        {
-                            xtype: 'Button',
-                            xns: Roo.Toolbar,
-                            listeners : {
-                                click : function()
-                                        {
-                                        Pman.genericDelete(_this, 'mtrack_milestone'); 
-                                        }
-                            },
-                            cls : 'x-btn-text-icon',
-                            text : "Delete",
-                            icon : rootURL + '/Pman/templates/images/trash.gif'
-                        },
-                        {
-                            xtype: 'ComboBox',
-                            xns: Roo.form,
-                            allowBlank : false,
-                            displayField : 'val',
-                            editable : false,
-                            fieldLabel : 'Currency',
-                            hiddenName : 'currency',
-                            listWidth : 200,
-                            triggerAction : 'all',
-                            valueField : 'key',
-                            width : 150,
-                            store : {
-                                xtype: 'SimpleStore',
-                                xns: Roo.data,
-                                fields : [ 'key' , 'val' ],
-                                data : [ 
-                                  [ 'HEAD', 'Head Milestones' ],
-                                  [ 'ACTIVE', 'Active Milestones' ],
-                                  [ 'ALL', 'All Milestones' ]
-                                  ]
-                            }
-                        }
-                    ]
-                },
-                colModel : [
-                    {
-                        xtype: 'ColumnModel',
-                        xns: Roo.grid,
-                        dataIndex : 'project_id_name',
-                        header : 'Project',
-                        width : 150,
-                        renderer : function(v) { return String.format('{0}', v); }
-                    },
-                    {
-                        xtype: 'ColumnModel',
-                        xns: Roo.grid,
-                        dataIndex : 'active_tickets',
-                        header : '#Tickets',
-                        width : 50,
-                        renderer : function(v) { return String.format('{0}', v); }
-                    },
-                    {
-                        xtype: 'ColumnModel',
-                        xns: Roo.grid,
-                        header : 'Name',
-                        width : 200,
-                        dataIndex : 'name',
-                        renderer : function(v) { return String.format('{0}', v); }
-                    },
-                    {
-                        xtype: 'ColumnModel',
-                        xns: Roo.grid,
-                        header : 'Description',
-                        width : 200,
-                        dataIndex : 'description',
-                        renderer : function(v) { return String.format('{0}', v); }
-                    },
-                    {
-                        xtype: 'ColumnModel',
-                        xns: Roo.grid,
-                        header : 'Startdate',
-                        width : 75,
-                        dataIndex : 'startdate',
-                        renderer : function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); }
-                    },
-                    {
-                        xtype: 'ColumnModel',
-                        xns: Roo.grid,
-                        header : 'Duedate',
-                        width : 75,
-                        dataIndex : 'duedate',
-                        renderer : function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); }
-                    },
-                    {
-                        xtype: 'ColumnModel',
-                        xns: Roo.grid,
-                        header : 'Completed',
-                        width : 75,
-                        dataIndex : 'completed',
-                        renderer : function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); }
-                    }
-                ]
-            }
-        });
-        this.layout = this.panel.layout;
+ _strings : {
+  'fa444e1c75f40633fccded45b0870206' :"No mtrack_milestone found",
+  '54e1d44609e3abed11f6e1eb6ae54988' :"Projects",
+  'b8cb81ab43044c454c1e69dbba646b68' :"On-hold",
+  'ec211f7c20af43e742bf2570c3cb84f9' :"Add",
+  '9e727fdd3aec8274f46685441900280d' :"Project",
+  '7dce122004969d56ae2e0245cb754d35' :"Edit",
+  'd5e96f1a04f3dd132b193765eee39b9e' :"Duedate",
+  'c6030af9c753c4081d7ba01420cd0922' :"Displaying mtrack_milestone{0} - {1} of {2}",
+  '1243daf593fa297e07ab03bf06d925af' :"Searching...",
+  'df25de42c84837baf5fa15049a8bc764' :"View:",
+  '5288ef9e03a2b0686856a301272e8e56' :"#Tickets",
+  '24f27bda5dd2c488aa9bc7700ba98c34' :"Select Projects",
+  '0460245609b5dc1fc4e3c72a84f95bb7' :"Startdate",
+  '780c165edced420f2207a4d5983e4bd0' :"Merge With another Milestone",
+  '07ca5050e697392c9ed47e6453f1453f' :"Completed",
+  '4ab658036f4f174205c384b863fed5c2' :"Milestones",
+  'e15e216fc1c639f787b1231ecdfa1bf8' :"HEAD",
+  'f2a6c498fb90ee345d997f888fce3b18' :"Delete",
+  '49ee3087348e8d44e1feda1917443987' :"Name",
+  'b5a7adde1af5c87d7fd797b6245c2a39' :"Description",
+  'db478325306f02298b2980f40223a413' :"#ref"
+ },
+ _named_strings : {
+  'project_id_name_emptyText' : '24f27bda5dd2c488aa9bc7700ba98c34' /* Select Projects */ ,
+  'project_id_name_loadingText' : '1243daf593fa297e07ab03bf06d925af' /* Searching... */ ,
+  'project_id_name_qtip' : '24f27bda5dd2c488aa9bc7700ba98c34' /* Select Projects */ ,
+  'project_id_name_fieldLabel' : '54e1d44609e3abed11f6e1eb6ae54988' /* Projects */ 
+ },
 
-    }
+  part     :  ["MTrack", "Milestone" ],
+  order    : '200-Pman.Tab.MTrackMilestone',
+  region   : 'center',
+  parent   : 'Pman.Tab.MTrack',
+  name     : "Pman.Tab.MTrackMilestone",
+  disabled : false, 
+  permname : '', 
+  _tree : function(_data)
+  {
+   var _this = this;
+   var MODULE = this;
+   return {
+   xtype : 'GridPanel',
+   background : true,
+   fitContainer : true,
+   fitToframe : true,
+   region : 'center',
+   tableName : 'mtrack_milestone',
+   title : _this._strings['4ab658036f4f174205c384b863fed5c2'] /* Milestones */,
+   listeners : {
+    activate : function() {
+         _this.panel = this;
+         if (_this.grid) {
+             _this.grid.footer.onClick('first');
+         }
+     }
+   },
+   xns : Roo,
+   '|xns' : 'Roo',
+   grid : {
+    xtype : 'Grid',
+    autoExpandColumn : 'description',
+    loadMask : true,
+    listeners : {
+     render : function() 
+      {
+          _this.grid = this; 
+           _this.dialog = Pman.Dialog.MTrackMilestone;
+          if (_this.panel.active) {
+             this.footer.onClick('first');
+          }
+      },
+     rowdblclick : function (_self, rowIndex, e)
+      {
+          if (!_this.dialog) { return; }
+          _this.dialog.show( this.getDataSource().getAt(rowIndex), function() {
+              _this.grid.footer.onClick('first');
+          }); 
+      }
+    },
+    xns : Roo.grid,
+    '|xns' : 'Roo.grid',
+    footer : {
+     xtype : 'PagingToolbar',
+     displayInfo : true,
+     displayMsg : _this._strings['c6030af9c753c4081d7ba01420cd0922'] /* Displaying mtrack_milestone{0} - {1} of {2} */,
+     emptyMsg : _this._strings['fa444e1c75f40633fccded45b0870206'] /* No mtrack_milestone found */,
+     pageSize : 100,
+     xns : Roo,
+     '|xns' : 'Roo'
+    },
+    toolbar : {
+     xtype : 'Toolbar',
+     xns : Roo,
+     '|xns' : 'Roo',
+     items  : [
+      {
+       xtype : 'TextItem',
+       text : _this._strings['df25de42c84837baf5fa15049a8bc764'] /* View: */,
+       xns : Roo.Toolbar,
+       '|xns' : 'Roo.Toolbar'
+      },
+      {
+       xtype : 'ComboBox',
+       allowBlank : false,
+       displayField : 'val',
+       editable : false,
+       forceSelection : true,
+       hiddenName : 'currency',
+       listWidth : 200,
+       triggerAction : 'all',
+       value : _this._strings['e15e216fc1c639f787b1231ecdfa1bf8'] /* HEAD */,
+       valueField : 'key',
+       width : 150,
+       listeners : {
+        beforeselect : function (combo, record, index)
+         {
+           (function() { _this.grid.footer.onClick('first'); }).defer(100);
+         },
+        render : function (_self)
+         {
+            _this.viewType = this;
+         }
+       },
+       xns : Roo.form,
+       '|xns' : 'Roo.form',
+       store : {
+        xtype : 'SimpleStore',
+        data : [ 
+          [ 'HEAD', 'Head Milestones' ],
+          [ 'ACTIVE', 'Active Milestones' ],
+          [ 'ALL', 'All Milestones' ]
+          ],
+        fields : [ 'key' , 'val' ],
+        xns : Roo.data,
+        '|xns' : 'Roo.data'
+       }
+      },
+      {
+       xtype : 'ComboBox',
+       allowBlank : false,
+       displayField : 'name',
+       editable : false,
+       emptyText : _this._strings['24f27bda5dd2c488aa9bc7700ba98c34'] /* Select Projects */,
+       fieldLabel : _this._strings['54e1d44609e3abed11f6e1eb6ae54988'] /* Projects */,
+       forceSelection : true,
+       hiddenName : 'project_id',
+       listWidth : 400,
+       loadingText : _this._strings['1243daf593fa297e07ab03bf06d925af'] /* Searching... */,
+       minChars : 2,
+       name : 'project_id_name',
+       pageSize : 50,
+       qtip : _this._strings['24f27bda5dd2c488aa9bc7700ba98c34'] /* Select Projects */,
+       queryParam : '',
+       selectOnFocus : true,
+       tpl : '<div class=\"x-grid-cell-text x-btn button\"><b>{code}</b> {name}</div>',
+       triggerAction : 'all',
+       typeAhead : true,
+       valueField : 'id',
+       width : 200,
+       listeners : {
+        beforeselect : function (combo, record, index)
+         {
+           (function() { _this.grid.footer.onClick('first')}).defer(100);
+         },
+        render : function (_self)
+         {
+            _this.projsel = _self;
+         }
+       },
+       xns : Roo.form,
+       '|xns' : 'Roo.form',
+       store : {
+        xtype : 'Store',
+        remoteSort : true,
+        sortInfo : { direction : 'ASC', field: 'code' },
+        listeners : {
+         beforeload : function (_self, o){
+              o.params = o.params || {};
+              // set more here
+          }
+        },
+        xns : Roo.data,
+        '|xns' : 'Roo.data',
+        proxy : {
+         xtype : 'HttpProxy',
+         method : 'GET',
+         url : baseURL + '/Roo/Projects.php',
+         xns : Roo.data,
+         '|xns' : 'Roo.data'
+        },
+        reader : {
+         xtype : 'JsonReader',
+         fields : [{"name":"id","type":"int"},{"name":"name","type":"string"}],
+         id : 'id',
+         root : 'data',
+         totalProperty : 'total',
+         xns : Roo.data,
+         '|xns' : 'Roo.data'
+        }
+       }
+      },
+      {
+       xtype : 'Fill',
+       xns : Roo.Toolbar,
+       '|xns' : 'Roo.Toolbar'
+      },
+      {
+       xtype : 'Button',
+       cls : 'x-btn-text-icon',
+       icon : Roo.rootURL + 'images/default/dd/drop-add.gif',
+       text : _this._strings['ec211f7c20af43e742bf2570c3cb84f9'] /* Add */,
+       listeners : {
+        click : function()
+         {
+         if (!_this.dialog) { return; }
+             _this.dialog.show( { id : 0 } , function() {
+                 _this.grid.footer.onClick('first');
+            }); 
+         }
+       },
+       xns : Roo.Toolbar,
+       '|xns' : 'Roo.Toolbar'
+      },
+      {
+       xtype : 'Button',
+       cls : 'x-btn-text-icon',
+       icon : Roo.rootURL + 'images/default/tree/leaf.gif',
+       text : _this._strings['7dce122004969d56ae2e0245cb754d35'] /* Edit */,
+       listeners : {
+        click : function()
+         {
+             var s = _this.grid.getSelectionModel().getSelections();
+             if (!s.length || (s.length > 1))  {
+                 Roo.MessageBox.alert("Error", s.length ? "Select only one Row" : "Select a Row");
+                 return;
+             }
+             if (!_this.dialog) { return; }
+             _this.dialog.show(s[0].data, function() {
+                 _this.grid.footer.onClick('first');
+             }); 
+             
+         }
+       },
+       xns : Roo.Toolbar,
+       '|xns' : 'Roo.Toolbar'
+      },
+      {
+       xtype : 'Button',
+       cls : 'x-btn-text-icon',
+       icon : Roo.rootURL + 'images/default/tree/leaf.gif',
+       text : _this._strings['780c165edced420f2207a4d5983e4bd0'] /* Merge With another Milestone */,
+       listeners : {
+        click : function()
+         {
+             var s = _this.grid.getSelectionModel().getSelections();
+             if (!s.length || (s.length > 1))  {
+                 Roo.MessageBox.alert("Error", s.length ? "Select only one Row" : "Select a Row");
+                 return;
+             }
+               
+             Pman.Dialog.MTrackMilestoneMerge.show(s[0].data, function() {
+                 Pman.genericDelete(_this, 'mtrack_milestone'); 
+             }); 
+             
+         }
+       },
+       xns : Roo.Toolbar,
+       '|xns' : 'Roo.Toolbar'
+      },
+      {
+       xtype : 'Button',
+       cls : 'x-btn-text-icon',
+       icon : rootURL + '/Pman/templates/images/trash.gif',
+       text : _this._strings['f2a6c498fb90ee345d997f888fce3b18'] /* Delete */,
+       listeners : {
+        click : function()
+                 {
+                 Pman.genericDelete(_this, 'mtrack_milestone'); 
+                 }
+       },
+       xns : Roo.Toolbar,
+       '|xns' : 'Roo.Toolbar'
+      }
+     ]
+    },
+    dataSource : {
+     xtype : 'Store',
+     remoteSort : true,
+     sortInfo : { field : 'duedate', direction: 'ASC' },
+     listeners : {
+      beforeload : function (_self, options)
+       {
+           options.params._with_active_tickets = 1;
+           if (!_this.viewType) {
+               return false;
+           }
+           options.params._viewtype = _this.viewType.getValue();
+           
+           if (_this.projsel.getValue()) {
+                options.params.project_id = _this.projsel.getValue();
+           }
+           
+           
+       }
+     },
+     xns : Roo.data,
+     '|xns' : 'Roo.data',
+     proxy : {
+      xtype : 'HttpProxy',
+      method : 'GET',
+      url : baseURL + '/Roo/mtrack_milestone.php',
+      xns : Roo.data,
+      '|xns' : 'Roo.data'
+     },
+     reader : {
+      xtype : 'JsonReader',
+      fields : [
+          {
+              'name': 'id',
+              'type': 'int'
+          },
+          {
+              'name': 'name',
+              'type': 'string'
+          },
+          {
+              'name': 'description',
+              'type': 'string'
+          },
+          {
+              'name': 'startdate',
+              'type': 'date',
+              'dateFormat': 'Y-m-d'
+          },
+          {
+              'name': 'duedate',
+              'type': 'date',
+              'dateFormat': 'Y-m-d'
+          },
+          {
+              'name': 'completed',
+              'type': 'date',
+              'dateFormat': 'Y-m-d'
+          },
+          {
+              'name': 'deleted',
+              'type': 'int'
+          },
+          {
+              'name': 'created',
+              'type': 'int'
+          },
+          {
+              'name': 'updated',
+              'type': 'int'
+          },
+          {
+              'name': 'project_id',
+              'type': 'int'
+          },
+          {
+              'name': 'deleted_id',
+              'type': 'int'
+          },
+          {
+              'name': 'deleted_person_id',
+              'type': 'int'
+          },
+          {
+              'name': 'deleted_ontable',
+              'type': 'string'
+          },
+          {
+              'name': 'deleted_onid',
+              'type': 'int'
+          },
+          {
+              'name': 'deleted_changedate',
+              'type': 'date'
+          },
+          {
+              'name': 'deleted_reason',
+              'type': 'string'
+          },
+          {
+              'name': 'updated_id',
+              'type': 'int'
+          },
+          {
+              'name': 'updated_person_id',
+              'type': 'int'
+          },
+          {
+              'name': 'updated_ontable',
+              'type': 'string'
+          },
+          {
+              'name': 'updated_onid',
+              'type': 'int'
+          },
+          {
+              'name': 'updated_changedate',
+              'type': 'date'
+          },
+          {
+              'name': 'updated_reason',
+              'type': 'string'
+          },
+          {
+              'name': 'created_id',
+              'type': 'int'
+          },
+          {
+              'name': 'created_person_id',
+              'type': 'int'
+          },
+          {
+              'name': 'created_ontable',
+              'type': 'string'
+          },
+          {
+              'name': 'created_onid',
+              'type': 'int'
+          },
+          {
+              'name': 'created_changedate',
+              'type': 'date'
+          },
+          {
+              'name': 'created_reason',
+              'type': 'string'
+          }
+      ],
+      id : 'id',
+      root : 'data',
+      totalProperty : 'total',
+      xns : Roo.data,
+      '|xns' : 'Roo.data'
+     }
+    },
+    colModel : [
+     {
+      xtype : 'ColumnModel',
+      dataIndex : 'id',
+      header : _this._strings['db478325306f02298b2980f40223a413'] /* #ref */,
+      renderer : function(v) { return String.format('{0}', v); },
+      width : 50,
+      xns : Roo.grid,
+      '|xns' : 'Roo.grid'
+     },
+     {
+      xtype : 'ColumnModel',
+      dataIndex : 'project_id_name',
+      header : _this._strings['9e727fdd3aec8274f46685441900280d'] /* Project */,
+      renderer : function(v) { return String.format('{0}', v); },
+      sortable : true,
+      width : 150,
+      xns : Roo.grid,
+      '|xns' : 'Roo.grid'
+     },
+     {
+      xtype : 'ColumnModel',
+      dataIndex : 'active_tickets',
+      header : _this._strings['5288ef9e03a2b0686856a301272e8e56'] /* #Tickets */,
+      renderer : function(v) { return String.format('{0}', v); },
+      width : 50,
+      xns : Roo.grid,
+      '|xns' : 'Roo.grid'
+     },
+     {
+      xtype : 'ColumnModel',
+      dataIndex : 'name',
+      header : _this._strings['49ee3087348e8d44e1feda1917443987'] /* Name */,
+      renderer : function(v) { return String.format('{0}', v); },
+      width : 200,
+      xns : Roo.grid,
+      '|xns' : 'Roo.grid'
+     },
+     {
+      xtype : 'ColumnModel',
+      dataIndex : 'description',
+      header : _this._strings['b5a7adde1af5c87d7fd797b6245c2a39'] /* Description */,
+      renderer : function(v) { return String.format('{0}', v); },
+      width : 200,
+      xns : Roo.grid,
+      '|xns' : 'Roo.grid'
+     },
+     {
+      xtype : 'ColumnModel',
+      dataIndex : 'startdate',
+      header : _this._strings['0460245609b5dc1fc4e3c72a84f95bb7'] /* Startdate */,
+      renderer : function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); },
+      sortable : true,
+      width : 75,
+      xns : Roo.grid,
+      '|xns' : 'Roo.grid'
+     },
+     {
+      xtype : 'ColumnModel',
+      dataIndex : 'duedate',
+      header : _this._strings['d5e96f1a04f3dd132b193765eee39b9e'] /* Duedate */,
+      renderer : function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); },
+      width : 75,
+      xns : Roo.grid,
+      '|xns' : 'Roo.grid'
+     },
+     {
+      xtype : 'ColumnModel',
+      dataIndex : 'on_hold',
+      header : _this._strings['b8cb81ab43044c454c1e69dbba646b68'] /* On-hold */,
+      renderer : function(v) { return String.format('{0}', v ? 'HOLD' : '' ); },
+      width : 75,
+      xns : Roo.grid,
+      '|xns' : 'Roo.grid'
+     },
+     {
+      xtype : 'ColumnModel',
+      dataIndex : 'completed',
+      header : _this._strings['07ca5050e697392c9ed47e6453f1453f'] /* Completed */,
+      renderer : function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); },
+      width : 75,
+      xns : Roo.grid,
+      '|xns' : 'Roo.grid'
+     }
+    ]
+   }
+  };  }
 });