diff --git a/models/Customer.php b/models/Customer.php index 03f2dd4..4be6346 100755 --- a/models/Customer.php +++ b/models/Customer.php @@ -15,9 +15,7 @@ * @property string $surname * @property string $phone * @property string $gender - * @property integer $birth_day - * @property integer $birth_month - * @property integer $birth_year + * @property integer $birthday * @property string $body * @property integer $group_id * @property string $email diff --git a/models/CustomerSearch.php b/models/CustomerSearch.php index 5bf328e..7062ad8 100755 --- a/models/CustomerSearch.php +++ b/models/CustomerSearch.php @@ -20,9 +20,7 @@ [ [ 'id', - 'birth_day', - 'birth_month', - 'birth_year', + 'birthday', 'group_id', ], 'integer', @@ -80,9 +78,7 @@ $query->andFilterWhere( [ 'id' => $this->id, - 'birth_day' => $this->birth_day, - 'birth_month' => $this->birth_month, - 'birth_year' => $this->birth_year, + 'birthday' => $this->birthday, 'group_id' => $this->group_id, ] ); diff --git a/translation/ru/app.php b/translation/ru/app.php index 29f9ecd..523c3d0 100755 --- a/translation/ru/app.php +++ b/translation/ru/app.php @@ -1,5 +1,6 @@ 'Вы точно хотите это удалить ?', 'id' => 'ID', 'username' => 'Логин', 'cname' => 'Имя', @@ -173,4 +174,5 @@ 'Поиск' => 'Поиск', 'Результаты поиска для' => 'Результаты поиска для', 'certs' => 'Сертификаты', + 'create_item' => 'Создать {item}', ]; \ No newline at end of file -- libgit2 0.21.4