title = 'Команда'; $this->params[ 'breadcrumbs' ][] = $this->title; ?>

title ?>

'btn btn-success' ]) ?>

$dataProvider, 'filterModel' => $searchModel, 'columns' => [ [ 'attribute' => 'team_id', 'label' => 'ID', ], [ 'value' => function($model, $key, $index, $column) { return $model->lastname.' '.$model->firstname.' '.$model->middlename; }, 'label' => 'ФИО', ], [ 'value' => function($model, $key, $index, $column) { return \Yii::$app->formatter->asBoolean(!empty($model->link)); }, 'label' => 'Участник МФП', ], [ 'attribute' => 'department.name', 'label' => 'Отдел компании', ], [ 'value' => function($model, $key, $index, $column) { return \Yii::$app->formatter->asDate(time(), 'yyyy') - $model->experience_from; }, 'label' => 'Опыл, лет', ], 'team_id', 'user_id', 'firstname', 'lastname', 'middlename', // 'link', // 'position', // 'department_id', // 'date_add', // 'user_add_id', // 'photo', // 'country_id', // 'experience_from', [ 'class' => 'yii\grid\ActionColumn' ], ], ]); ?>