projects
/
Pman.Admin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
166f241
)
Pman.Tab.AdminCompanies.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 12 May 2011 07:54:11 +0000
(15:54 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 12 May 2011 07:54:11 +0000
(15:54 +0800)
Pman.Tab.AdminCompanies.js
patch
|
blob
|
history
diff --git
a/Pman.Tab.AdminCompanies.js
b/Pman.Tab.AdminCompanies.js
index
a476146
..
b94b729
100644
(file)
--- a/
Pman.Tab.AdminCompanies.js
+++ b/
Pman.Tab.AdminCompanies.js
@@
-435,10
+435,12
@@
Pman.Tab.AdminCompanies = new Roo.util.Observable({
{
xtype: 'ColumnModel',
xns: Roo.grid,
+ dataIndex : 'comptype',
header : 'Comptype',
width : 200,
- dataIndex : 'comptype',
- renderer : function(v) { return String.format('{0}', v); }
+ renderer : function (v,x ,r) {
+ return Pman.Dialog.Companies.comptypeListToString(r.data.isOwner ? 'OWNER' : v);
+ }
},
{
xtype: 'ColumnModel',