profile editor role

This commit is contained in:
andrey committed 2021-08-12 13:57:00 +03:00
1 parent 86c3146761
commit 3dc11f8075
6 files changed
+61 -13

No files matched your search

@@ -72,7 +72,10 @@ $this->params['breadcrumbs'][] = $this->title;
'attribute' => 'status',
'value' => $model->status0->name,
],
'salary',
[
'attribute' => 'salary',
'visible' => Yii::$app->user->can('confidential_information')
],
[
'attribute' => 'position_id',
'value' => (isset($model->position->name)) ? $model->position->name : 'Без должности',