Commit 743513db5d0699ca763810e10794e97e46bf010d
1 parent
2689758b
full commit
Showing
1 changed file
with
9 additions
and
2 deletions
Show diff stats
models/Customer.php
@@ -81,6 +81,8 @@ | @@ -81,6 +81,8 @@ | ||
81 | 'phone', | 81 | 'phone', |
82 | 'email', | 82 | 'email', |
83 | 'password_reset_token', | 83 | 'password_reset_token', |
84 | + 'city', | ||
85 | + 'address', | ||
84 | ], | 86 | ], |
85 | 'string', | 87 | 'string', |
86 | 'max' => 255, | 88 | 'max' => 255, |
@@ -95,7 +97,10 @@ | @@ -95,7 +97,10 @@ | ||
95 | ], | 97 | ], |
96 | ]; | 98 | ]; |
97 | } | 99 | } |
98 | - | 100 | + |
101 | + | ||
102 | + | ||
103 | + | ||
99 | /** | 104 | /** |
100 | * @inheritdoc | 105 | * @inheritdoc |
101 | */ | 106 | */ |
@@ -105,7 +110,7 @@ | @@ -105,7 +110,7 @@ | ||
105 | 'id' => Yii::t('app', 'id'), | 110 | 'id' => Yii::t('app', 'id'), |
106 | 'username' => Yii::t('app', 'username'), | 111 | 'username' => Yii::t('app', 'username'), |
107 | 'surname' => Yii::t('app', 'surname'), | 112 | 'surname' => Yii::t('app', 'surname'), |
108 | - 'phone' => Yii::t('app', 'phone'), | 113 | + 'phone' => Yii::t('app', 'Мобильный телефон'), |
109 | 'gender' => Yii::t('app', 'gender'), | 114 | 'gender' => Yii::t('app', 'gender'), |
110 | 'birthday' => Yii::t('app', 'birthday'), | 115 | 'birthday' => Yii::t('app', 'birthday'), |
111 | 'body' => Yii::t('app', 'body'), | 116 | 'body' => Yii::t('app', 'body'), |
@@ -116,6 +121,8 @@ | @@ -116,6 +121,8 @@ | ||
116 | 'status' => Yii::t('app', 'status'), | 121 | 'status' => Yii::t('app', 'status'), |
117 | 'created_at' => Yii::t('app', 'created_at'), | 122 | 'created_at' => Yii::t('app', 'created_at'), |
118 | 'updated_at' => Yii::t('app', 'updated_at'), | 123 | 'updated_at' => Yii::t('app', 'updated_at'), |
124 | + 'city' => Yii::t('app', 'Город'), | ||
125 | + 'address' => Yii::t('app', 'Адрес'), | ||
119 | ]; | 126 | ]; |
120 | } | 127 | } |
121 | 128 |