diff --git a/backend/views/request/update.php b/backend/views/request/update.php
index 6b5ffbf..4f3b84c 100644
--- a/backend/views/request/update.php
+++ b/backend/views/request/update.php
@@ -91,7 +91,13 @@
'class' => 'flat',
]
) ?>
-
+ = $form->field($model, 'need_visa')
+ ->dropDownList(
+ [
+ 0 => 'Нет',
+ 1 => 'Да',
+ ]
+ ) ?>
= $form->field($model, 'special_meal')
->textInput() ?>
diff --git a/common/mail/request.php b/common/mail/request.php
index a06e808..a5ef85d 100644
--- a/common/mail/request.php
+++ b/common/mail/request.php
@@ -83,7 +83,7 @@
Нужна виза : |
- = $formatter->asBoolean($model->need_visa) ?> |
+ = ($model->need_visa==0)?'Нет':'Да' ?> |
Особенное питание : |
diff --git a/common/messages/en/app.php b/common/messages/en/app.php
index 893826a..8837073 100644
--- a/common/messages/en/app.php
+++ b/common/messages/en/app.php
@@ -88,7 +88,7 @@ return [
'yes' => 'Yes',
-
+ 'No' => 'No',
diff --git a/common/messages/fr/app.php b/common/messages/fr/app.php
index 64b6b56..0038fad 100644
--- a/common/messages/fr/app.php
+++ b/common/messages/fr/app.php
@@ -89,7 +89,7 @@ return [
'Choose' => 'Sélectionner',
'yes' => 'Oui',
-
+ 'No' => 'Non',
diff --git a/common/messages/ru/app.php b/common/messages/ru/app.php
index 6927ea7..b45abc9 100644
--- a/common/messages/ru/app.php
+++ b/common/messages/ru/app.php
@@ -85,7 +85,7 @@ return [
'Choose' => 'Выбрать',
'yes' => 'Да',
-
+ 'No' => 'Нет',
diff --git a/common/messages/ua/app.php b/common/messages/ua/app.php
index 6999023..d202dbd 100644
--- a/common/messages/ua/app.php
+++ b/common/messages/ua/app.php
@@ -87,7 +87,7 @@ return [
'yes' => 'Так',
-
+ 'No' => 'Hi',
diff --git a/common/models/Customer.php b/common/models/Customer.php
index 0d096a4..db98b41 100644
--- a/common/models/Customer.php
+++ b/common/models/Customer.php
@@ -121,6 +121,7 @@
],
'boolean',
],
+
[
[
'name',
@@ -179,6 +180,7 @@
'acceptance',
'phone_office',
'phone_other',
+ 'need_visa'
],
'required',
],
diff --git a/frontend/views/site/signup.php b/frontend/views/site/signup.php
index e76d632..cef615a 100755
--- a/frontend/views/site/signup.php
+++ b/frontend/views/site/signup.php
@@ -104,16 +104,14 @@ $js=$dp->getDatepickerJs();