Update CustomerResource.php
This commit is contained in:
parent
881537c9c6
commit
f7c869b255
1 changed files with 4 additions and 1 deletions
|
@ -36,8 +36,11 @@ class CustomerResource extends Resource
|
|||
->label('Server')
|
||||
->options($phyreServers)
|
||||
->default(0)
|
||||
->hidden(function($record) {
|
||||
return $record->phyre_server_id == 0;
|
||||
})
|
||||
->disabled(function($record) {
|
||||
return $record->phyre_server_id > 0;
|
||||
return $record->id > 0;
|
||||
})
|
||||
->columnSpanFull();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue