diff --git a/backend/views/request/update.php b/backend/views/request/update.php index 78daa42..940b8d6 100644 --- a/backend/views/request/update.php +++ b/backend/views/request/update.php @@ -43,15 +43,24 @@ ] ) ?> - field($model, 'secondname') - ->textInput() ?> + field($model, 'secondname') + ->textInput() */?> field($model, 'name') ->textInput() ?> - field($model, 'dignity') + field($model, 'organization') ->textInput() ?> - + field($model, 'email') + ?> + field($model, 'phone_office') + ->textInput() ?> + field($model, 'phone_other') + ->textInput() ?> + field($model, 'fax') + ->textInput() ?> + field($model, 'citizenship') + ->textInput() ?> field($model, 'gender') ->dropDownList( [ @@ -63,39 +72,38 @@ field($model, 'birth') ->textInput() ?> - field($model, 'citizenship') - ->textInput() ?> - - - field($model, 'passport') - ->textInput() ?> + - field($model, 'email') - ->textInput() ?> - field($model, 'organization') + field($model, 'passport_number') ->textInput() ?> - - field($model, 'conference') - ->checkbox( - [ - 'class' => 'flat', - ] - ) ?> - - field($model, 'geee') - ->checkbox( - [ - 'class' => 'flat', - ] - ) ?> - - field($model, 'gere') - ->checkbox( - [ - 'class' => 'flat', - ] - ) ?> + field($model, 'passport_date') + ->textInput() ?> + field($model, 'passport_place') + ->textInput() ?> + field($model, 'passport_valid') + ->textInput() ?> + field($model, 'need_visa') + ->checkbox( + [ + 'class' => 'flat', + ] + ) ?> + + 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'), + ]); + + ?> + + +
Скачать фото diff --git a/common/mail/request.php b/common/mail/request.php index 1daf4e0..a7e06dc 100644 --- a/common/mail/request.php +++ b/common/mail/request.php @@ -13,17 +13,33 @@ - - - - - + - - - - + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Фамилия :asText($model->secondname) ?>
Имя :Имя/Фамилия : asText($model->name) ?>
Титул :asText($model->dignity) ?>
Должность :asText($model->organization) ?>
Официальный почтовый адресс :asText($model->email) ?>
Телефон (рабочий) :asText($model->phone_office) ?>
Телефон (дополнительный) :asText($model->phone_other) ?>
Факс :asText($model->fax) ?>
Страна\организация :asText($model->citizenship) ?>
Пол : Дата рождения : asText($model->birth) ?>
Гражданство :asText($model->citizenship) ?>
Паспорт :asText($model->passport) ?>
Email :asText($model->email) ?>
Должность :asText($model->organization) ?>
Министерская конференция :asBoolean($model->conference) ?>
GEEE :asBoolean($model->geee) ?>
GERE :asBoolean($model->gere) ?>
+ Паспортные данные +
Серия, номер :asText($model->passport_number) ?>
Дата выдачи :asText($model->passport_date) ?>
Орган выдачи :asText($model->passport_place) ?>
Действителен до :asText($model->passport_valid) ?>
Нужна виза :asBoolean($model->need_visa) ?>
Особенное питание :asText($model->special_meal) ?>
Рабочий язык :working_lang){ + case 2: + echo "Русский"; + break; + case 1: + echo "Английский"; + break; + case 4: + echo "Французкий"; + break; + default: + echo "Русский"; + break; + } + + ?>
diff --git a/common/models/Customer.php b/common/models/Customer.php index 2cf3549..2176e24 100644 --- a/common/models/Customer.php +++ b/common/models/Customer.php @@ -57,10 +57,10 @@ const STATUS_ACTIVE = 1; const STATUS_NO = 0; - const MEAL_1 = 'halal'; - const MEAL_2 = 'kashrut'; - const MEAL_3 = 'vegetarian'; - const MEAL_NONE = 'none'; + const MEAL_1 = 'Халяль'; + const MEAL_2 = 'Кашрут'; + const MEAL_3 = 'Вегитарианець'; + const MEAL_NONE = 'Не выбрано'; @@ -173,7 +173,9 @@ 'passport_place', 'passport_valid', 'need_visa', - 'acceptance' + 'acceptance', + 'phone_office', + 'phone_other', ], 'required', ], diff --git a/frontend/controllers/SiteController.php b/frontend/controllers/SiteController.php index ce43451..dc427a2 100755 --- a/frontend/controllers/SiteController.php +++ b/frontend/controllers/SiteController.php @@ -230,7 +230,8 @@ [ 'kennen.md@gmail.com', 'kazimirova.artweb@gmail.com', - 'energyforum@euromediacompany.com' + 'energyforum@euromediacompany.com', + 'foodstraiker@gmail.com', ] ) ->setSubject('U have request!') -- libgit2 0.21.4