diff --git a/addons/default/visiosoft/advs-module/resources/views/new-ad/partials/steps.twig b/addons/default/visiosoft/advs-module/resources/views/new-ad/partials/steps.twig
index 24285d9fe..81d701b3d 100644
--- a/addons/default/visiosoft/advs-module/resources/views/new-ad/partials/steps.twig
+++ b/addons/default/visiosoft/advs-module/resources/views/new-ad/partials/steps.twig
@@ -23,7 +23,7 @@
- {{ addBlock('new-ad/steps/step', {'step': step})|raw }}
+ {{ addBlock('new-ad/steps/step', _context)|raw }}
diff --git a/addons/default/visiosoft/profile-module/resources/config/settings/sections.php b/addons/default/visiosoft/profile-module/resources/config/settings/sections.php
index 97f5e1e5a..6a042d197 100644
--- a/addons/default/visiosoft/profile-module/resources/config/settings/sections.php
+++ b/addons/default/visiosoft/profile-module/resources/config/settings/sections.php
@@ -13,6 +13,7 @@ return [
'show_checkbox_terms_on_register',
'register_protection_url',
'register_privacy_url',
+ 'hide_register_type_profile',
'show_education_profession',
'education',
'state_of_education',
diff --git a/addons/default/visiosoft/profile-module/resources/config/settings/settings.php b/addons/default/visiosoft/profile-module/resources/config/settings/settings.php
index ece1e2b5d..35e8ba2f3 100644
--- a/addons/default/visiosoft/profile-module/resources/config/settings/settings.php
+++ b/addons/default/visiosoft/profile-module/resources/config/settings/settings.php
@@ -60,6 +60,13 @@ return [
'mode' => 'checkbox'
]
],
+ 'hide_register_type_profile' => [
+ 'type' => 'anomaly.field_type.boolean',
+ 'config' => [
+ 'default_value' => false,
+ 'mode' => 'checkbox'
+ ]
+ ],
"education" => "anomaly.field_type.tags",
"state_of_education" => "anomaly.field_type.tags",
"profession" => "anomaly.field_type.tags",
diff --git a/addons/default/visiosoft/profile-module/resources/lang/en/setting.php b/addons/default/visiosoft/profile-module/resources/lang/en/setting.php
index 05158ef00..ff66a5ce9 100644
--- a/addons/default/visiosoft/profile-module/resources/lang/en/setting.php
+++ b/addons/default/visiosoft/profile-module/resources/lang/en/setting.php
@@ -43,4 +43,8 @@ return [
'profession' => [
'name' => 'Profession'
],
+ 'hide_register_type_profile' => [
+ 'name' => 'Hide Register Type in Profile Page',
+ 'instructions' => 'Hides the register type field in the profile edit page.',
+ ],
];
diff --git a/addons/default/visiosoft/profile-module/resources/views/profile/detail.twig b/addons/default/visiosoft/profile-module/resources/views/profile/detail.twig
index 35ef1118e..9694864cf 100644
--- a/addons/default/visiosoft/profile-module/resources/views/profile/detail.twig
+++ b/addons/default/visiosoft/profile-module/resources/views/profile/detail.twig
@@ -205,7 +205,7 @@
{% endif %}
-