type == 2) { echo Html::a($model->companyInfo->name, [ 'company/common', 'company_id' => $model->id, ]); } else { echo Html::a($model->firstname . $model->lastname, [ 'performer/common', 'performer_id' => $model->id, ]); } ?>
userInfo->rating) { echo StarRating::widget([ 'name' => 'rating_customer', 'value' => $rating, 'pluginOptions' => [ 'displayOnly' => true, 'size' => 'xxs', 'min' => 0, 'max' => 10, 'stars' => 10, ], ]); } else { echo StarRating::widget([ 'name' => 'rating_customer', 'value' => 0, 'pluginOptions' => [ 'displayOnly' => true, 'size' => 'xxs', 'min' => 0, 'max' => 10, 'stars' => 10, ], ]); } ?>
comments) ?> мнений userInfo->city )) { echo ", {$model->userInfo->city}"; } ?>
type == 2 && !empty( $model->companyInfo->staff )) { ?>
Сотрудники: companyInfo->staff ?>
Последний визит: formatter->asTimestamp($model->userInfo->date_visit) ) < 1800) { echo 'Онлайн'; } else { echo \Yii::$app->formatter->asRelativeTime($model->userInfo->date_visit); } ?>
projects), [ 'search/project', (new Project())->formName() . '[user_id]' => $model->id, ]) ?>
userInfo->image ? : "/images/search_performer_img-1.jpg", [ 'class' => 'search_customer_image' ]); ?>
user->identity )) { if($model->getIsBookmarked(Bookmark::TYPE_CUSTOMER)) { echo Html::a('Убрать из закладок', [ '#' ], [ 'class' => 'get-list artbox_bookmark_remove_customer', 'data-id' => $model->id, ]); } else { echo Html::a('Добавить в закладки', [ '#' ], [ 'class' => 'get-list artbox_bookmark_add_customer', 'data-id' => $model->id, ]); } } ?>