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 | 81 | 'phone', |
| 82 | 82 | 'email', |
| 83 | 83 | 'password_reset_token', |
| 84 | + 'city', | |
| 85 | + 'address', | |
| 84 | 86 | ], |
| 85 | 87 | 'string', |
| 86 | 88 | 'max' => 255, |
| ... | ... | @@ -95,7 +97,10 @@ |
| 95 | 97 | ], |
| 96 | 98 | ]; |
| 97 | 99 | } |
| 98 | - | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 99 | 104 | /** |
| 100 | 105 | * @inheritdoc |
| 101 | 106 | */ |
| ... | ... | @@ -105,7 +110,7 @@ |
| 105 | 110 | 'id' => Yii::t('app', 'id'), |
| 106 | 111 | 'username' => Yii::t('app', 'username'), |
| 107 | 112 | 'surname' => Yii::t('app', 'surname'), |
| 108 | - 'phone' => Yii::t('app', 'phone'), | |
| 113 | + 'phone' => Yii::t('app', 'Мобильный телефон'), | |
| 109 | 114 | 'gender' => Yii::t('app', 'gender'), |
| 110 | 115 | 'birthday' => Yii::t('app', 'birthday'), |
| 111 | 116 | 'body' => Yii::t('app', 'body'), |
| ... | ... | @@ -116,6 +121,8 @@ |
| 116 | 121 | 'status' => Yii::t('app', 'status'), |
| 117 | 122 | 'created_at' => Yii::t('app', 'created_at'), |
| 118 | 123 | 'updated_at' => Yii::t('app', 'updated_at'), |
| 124 | + 'city' => Yii::t('app', 'Город'), | |
| 125 | + 'address' => Yii::t('app', 'Адрес'), | |
| 119 | 126 | ]; |
| 120 | 127 | } |
| 121 | 128 | ... | ... |