title = 'Заявка № ' . $model->id; $this->params['breadcrumbs'][] = [ 'label' => 'Все заявки', 'url' => ['/request'] ]; $this->params['breadcrumbs'][] = $this->title; ?>
$this->title, ] ); ?>
field($model, 'status') ->dropDownList( [ 2 => 'Новая', 1 => 'Одобрена', 0 => 'Отклонена', ] ) ?> field($model, 'secondname') ->textInput() */?> field($model, 'name') ->textInput() ?> field($model, 'organization') ->textInput() ?> field($model, 'email') ?> field($model, 'post_address') ->textInput() ?> field($model, 'phone_office') ->textInput() ?> field($model, 'phone_other') ->textInput() ?> field($model, 'fax') ->textInput() ?> field($model, 'citizenship') ->textInput() ?> field($model, 'gender') ->dropDownList( [ 1 => 'Мужской', 2 => 'Женский', ] ) ?> field($model, 'birth') ->textInput() ?> field($model, 'passport_number') ->textInput() ?> field($model, 'passport_date') ->textInput() ?> field($model, 'passport_place') ->textInput() ?> field($model, 'passport_valid') ->textInput() ?> field($model, 'need_visa') ->dropDownList( [ 0 => 'Нет', 1 => 'Да', ] ) ?> field($model, 'special_meal') ->textInput() ?> field($model, 'working_lang') ->dropDownList([ 2 => \Yii::t('app', "RusW"), 1 => \Yii::t('app', 'EngW'), 4 => \Yii::t('app', 'FrW'), ]); ?>
$model->isNewRecord ? 'btn btn-success' : 'btn btn-success' ] ) ?>