Информация о пользователе
This commit is contained in:
parent
772b93b321
commit
3f7507918f
@ -19,7 +19,6 @@ use yii\widgets\DetailView;
|
|||||||
'model' => $model,
|
'model' => $model,
|
||||||
'attributes' => [
|
'attributes' => [
|
||||||
['label' => 'ФИО', 'attribute' => 'fio',],
|
['label' => 'ФИО', 'attribute' => 'fio',],
|
||||||
['label' => 'Пасспорт', 'attribute' => 'passport',],
|
|
||||||
['label' => 'Email', 'attribute' => 'email',],
|
['label' => 'Email', 'attribute' => 'email',],
|
||||||
[
|
[
|
||||||
'attribute' => 'gender',
|
'attribute' => 'gender',
|
||||||
@ -30,7 +29,6 @@ use yii\widgets\DetailView;
|
|||||||
'attribute' => 'status',
|
'attribute' => 'status',
|
||||||
'value' => $model->status0->name,
|
'value' => $model->status0->name,
|
||||||
],
|
],
|
||||||
['label' => 'Зарплата', 'attribute' => 'salary',],
|
|
||||||
[
|
[
|
||||||
'attribute' => 'position_id',
|
'attribute' => 'position_id',
|
||||||
'value' => (isset($model->position->name)) ? $model->position->name : 'Без должности',
|
'value' => (isset($model->position->name)) ? $model->position->name : 'Без должности',
|
||||||
@ -43,7 +41,7 @@ use yii\widgets\DetailView;
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'attribute' => 'Resume',
|
'attribute' => 'Резюме',
|
||||||
'format' => 'raw',
|
'format' => 'raw',
|
||||||
'value' => function ($model) {
|
'value' => function ($model) {
|
||||||
return Html::a('Скачать', $model->resume, ['target' => '_blank']);
|
return Html::a('Скачать', $model->resume, ['target' => '_blank']);
|
||||||
|
Loading…
Reference in New Issue
Block a user