'bcc254b55c4a1babdf1dcb82c207506b' :"Phone",
'66bc3ece76861852889e623217049d32' :"Edit Company Details",
'ea4788705e6873b424c65e91c2846b19' :"Cancel",
+ 'ca0dbad92a874b2f69b549293387925e' :"Code",
'a1fa27779242b4902f7ae3bdd5c6d508' :"Type",
'dd7bf230fde8d4836917806aff6a6b27' :"Address",
'c9cc8cce247e49bae79f15173ce97354' :"Save",
_named_strings : {
'tel_fieldLabel' : 'bcc254b55c4a1babdf1dcb82c207506b' /* Phone */ ,
'comptype_display_name_loadingText' : '1243daf593fa297e07ab03bf06d925af' /* Searching... */ ,
+ 'code_fieldLabel' : 'ca0dbad92a874b2f69b549293387925e' /* Code */ ,
'name_fieldLabel' : '1c76cbfe21c6f44c1d1e59d54f3e4420' /* Company */ ,
'remarks_fieldLabel' : '231bc72756b5e6de492aaaa1577f61b1' /* Remarks */ ,
'url_fieldLabel' : 'e6b391a8d2c4d45902a23a8b6585703d' /* URL */ ,
var _this = this;
this.dialog = Roo.factory({
xtype : 'Modal',
- cls : 'enable-overflow padding-bottom-trim badmin-dialog-company',
- maxWidth : 650,
+ cls : 'padding-bottom-trim badmin-dialog-company enable-modal-body-overflow',
+ max_width : 650,
title : _this._strings['66bc3ece76861852889e623217049d32'] /* Edit Company Details */,
listeners : {
render : function (_self)
{
_this.modal = _self;
+ },
+ show : function (_self)
+ {
+ _this.form.findField('code').hide();
+
+ if(appDisabled.indexOf('Coba.SuperAdmin') * 1 == -1) {
+ _this.form.findField('code').show();
+ }
}
},
xns : Roo.bootstrap,
xns : Roo.bootstrap,
'|xns' : 'Roo.bootstrap',
items : [
+ {
+ xtype : 'Row',
+ xns : Roo.bootstrap,
+ '|xns' : 'Roo.bootstrap',
+ items : [
+ {
+ xtype : 'Column',
+ md : 12,
+ xns : Roo.bootstrap,
+ '|xns' : 'Roo.bootstrap',
+ items : [
+ {
+ xtype : 'Input',
+ fieldLabel : _this._strings['ca0dbad92a874b2f69b549293387925e'] /* Code */,
+ indicatorpos : 'left',
+ name : 'code',
+ listeners : {
+ render : function (_self)
+ {
+ _this.company = _self;
+ }
+ },
+ xns : Roo.bootstrap,
+ '|xns' : 'Roo.bootstrap'
+ }
+ ]
+ }
+ ]
+ },
{
xtype : 'Row',
xns : Roo.bootstrap,