diff --git a/models/Customer.php b/models/Customer.php index 5337d37..03f2dd4 100755 --- a/models/Customer.php +++ b/models/Customer.php @@ -81,6 +81,8 @@ 'phone', 'email', 'password_reset_token', + 'city', + 'address', ], 'string', 'max' => 255, @@ -95,7 +97,10 @@ ], ]; } - + + + + /** * @inheritdoc */ @@ -105,7 +110,7 @@ 'id' => Yii::t('app', 'id'), 'username' => Yii::t('app', 'username'), 'surname' => Yii::t('app', 'surname'), - 'phone' => Yii::t('app', 'phone'), + 'phone' => Yii::t('app', 'Мобильный телефон'), 'gender' => Yii::t('app', 'gender'), 'birthday' => Yii::t('app', 'birthday'), 'body' => Yii::t('app', 'body'), @@ -116,6 +121,8 @@ 'status' => Yii::t('app', 'status'), 'created_at' => Yii::t('app', 'created_at'), 'updated_at' => Yii::t('app', 'updated_at'), + 'city' => Yii::t('app', 'Город'), + 'address' => Yii::t('app', 'Адрес'), ]; } -- libgit2 0.21.4