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 @@
]
) ?>
- = $form->field($model, 'secondname')
- ->textInput() ?>
+ field($model, 'secondname')
+ ->textInput() */?>
= $form->field($model, 'name')
->textInput() ?>
- = $form->field($model, 'dignity')
+ = $form->field($model, 'organization')
->textInput() ?>
-
+ = $form->field($model, 'email')
+ ?>
+ = $form->field($model, 'phone_office')
+ ->textInput() ?>
+ = $form->field($model, 'phone_other')
+ ->textInput() ?>
+ = $form->field($model, 'fax')
+ ->textInput() ?>
+ = $form->field($model, 'citizenship')
+ ->textInput() ?>
= $form->field($model, 'gender')
->dropDownList(
[
@@ -63,39 +72,38 @@
= $form->field($model, 'birth')
->textInput() ?>
- = $form->field($model, 'citizenship')
- ->textInput() ?>
-
-
- = $form->field($model, 'passport')
- ->textInput() ?>
+
- = $form->field($model, 'email')
- ->textInput() ?>
- = $form->field($model, 'organization')
+ = $form->field($model, 'passport_number')
->textInput() ?>
-
- = $form->field($model, 'conference')
- ->checkbox(
- [
- 'class' => 'flat',
- ]
- ) ?>
-
- = $form->field($model, 'geee')
- ->checkbox(
- [
- 'class' => 'flat',
- ]
- ) ?>
-
- = $form->field($model, 'gere')
- ->checkbox(
- [
- 'class' => 'flat',
- ]
- ) ?>
+ = $form->field($model, 'passport_date')
+ ->textInput() ?>
+ = $form->field($model, 'passport_place')
+ ->textInput() ?>
+ = $form->field($model, 'passport_valid')
+ ->textInput() ?>
+ = $form->field($model, 'need_visa')
+ ->checkbox(
+ [
+ 'class' => 'flat',
+ ]
+ ) ?>
+
+ = $form->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 @@
- Фамилия : |
- = $formatter->asText($model->secondname) ?> |
-
-
- Имя : |
+ Имя/Фамилия : |
= $formatter->asText($model->name) ?> |
-
- Титул : |
- = $formatter->asText($model->dignity) ?> |
-
+
+ Должность : |
+ = $formatter->asText($model->organization) ?> |
+
+
+ Официальный почтовый адресс : |
+ = $formatter->asText($model->email) ?> |
+
+
+ Телефон (рабочий) : |
+ = $formatter->asText($model->phone_office) ?> |
+
+
+ Телефон (дополнительный) : |
+ = $formatter->asText($model->phone_other) ?> |
+
+
+ Факс : |
+ = $formatter->asText($model->fax) ?> |
+
+
+ Страна\организация : |
+ = $formatter->asText($model->citizenship) ?> |
+
Пол : |
Дата рождения : |
= $formatter->asText($model->birth) ?> |
-
- Гражданство : |
- = $formatter->asText($model->citizenship) ?> |
-
-
- Паспорт : |
- = $formatter->asText($model->passport) ?> |
-
-
- Email : |
- = $formatter->asText($model->email) ?> |
-
-
- Должность : |
- = $formatter->asText($model->organization) ?> |
-
-
- Министерская конференция : |
- = $formatter->asBoolean($model->conference) ?> |
-
-
- GEEE : |
- = $formatter->asBoolean($model->geee) ?> |
-
-
- GERE : |
- = $formatter->asBoolean($model->gere) ?> |
-
+
+
+ Паспортные данные
+ |
+
+
+ Серия, номер : |
+ = $formatter->asText($model->passport_number) ?> |
+
+
+ Дата выдачи : |
+ = $formatter->asText($model->passport_date) ?> |
+
+
+ Орган выдачи : |
+ = $formatter->asText($model->passport_place) ?> |
+
+
+ Действителен до : |
+ = $formatter->asText($model->passport_valid) ?> |
+
+
+ Нужна виза : |
+ = $formatter->asBoolean($model->need_visa) ?> |
+
+
+ Особенное питание : |
+ = $formatter->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