X-Git-Url: http://git.roojs.org/?p=Pman.Admin;a=blobdiff_plain;f=Pman.Tab.AdminOffice.bjs;h=d6ad503703403f9c9efe4c9ff0c304f7a662ab66;hp=b667dab69320ef2d485f7901d8812a442081c979;hb=HEAD;hpb=ff66d24c17e87bb3a03fb73e71b11e9a07ec1095 diff --git a/Pman.Tab.AdminOffice.bjs b/Pman.Tab.AdminOffice.bjs index b667dab..d6ad503 100644 --- a/Pman.Tab.AdminOffice.bjs +++ b/Pman.Tab.AdminOffice.bjs @@ -2,7 +2,7 @@ "name" : "Pman.Tab.AdminOffice", "parent" : "Pman.Tab.AdminCompanies", "title" : "Pman.Tab.AdminOffice", - "path" : "/home/johns/gitlive/web.coba/Pman.Admin/Pman.Tab.AdminOffice.bjs", + "path" : "/home/alan/gitlive/Pman.Admin/Pman.Tab.AdminOffice.bjs", "permname" : "", "modOrder" : "001", "strings" : { @@ -23,9 +23,9 @@ "listeners" : { "|activate" : "function() {\n _this.panel = this;\n if (_this.grid) {\n _this.grid.footer.onClick('first');\n }\n}" }, + "region" : "south", "fitToframe" : true, "background" : true, - "region" : "center", "title" : "Offices / Departments / Sub-Companies", "xtype" : "GridPanel", "fitContainer" : true, @@ -54,9 +54,9 @@ "* prop" : "dataSource", "items" : [ { - "$ url" : "baseURL + '/Roo/Office.php'", - "xtype" : "HttpProxy", + "$ url" : "baseURL + '/Roo/core_office.php'", "method" : "GET", + "xtype" : "HttpProxy", "$ xns" : "Roo.data", "* prop" : "proxy" }, @@ -129,8 +129,8 @@ }, { "xtype" : "ColumnModel", - "width" : 100, "header" : "Phone", + "width" : 100, "$ renderer" : "function(v) { return String.format('{0}', v); }", "$ xns" : "Roo.grid", "* prop" : "colModel[]", @@ -138,8 +138,8 @@ }, { "xtype" : "ColumnModel", - "width" : 100, "header" : "Fax", + "width" : 100, "$ renderer" : "function(v) { return String.format('{0}', v); }", "$ xns" : "Roo.grid", "* prop" : "colModel[]", @@ -147,8 +147,8 @@ }, { "xtype" : "ColumnModel", - "width" : 200, "header" : "Email", + "width" : 200, "$ renderer" : "function (v) {\n return (v.length && v.indexOf('@') > 0 ) ? \n String.format('{0}',v) : v;\n \n}", "$ xns" : "Roo.grid", "* prop" : "colModel[]", @@ -156,8 +156,8 @@ }, { "xtype" : "ColumnModel", - "width" : 300, "header" : "Address", + "width" : 300, "$ renderer" : "function(v) { return String.format('{0}', v); }", "$ xns" : "Roo.grid", "* prop" : "colModel[]",