#2943 franchise yapılacaklar

This commit is contained in:
Diatrex 2020-12-24 17:49:50 +03:00
parent 18c2a046f2
commit 586c0c33fa
4 changed files with 13 additions and 1 deletions

View File

@ -13,6 +13,7 @@ return [
'show_checkbox_terms_on_register', 'show_checkbox_terms_on_register',
'register_protection_url', 'register_protection_url',
'register_privacy_url', 'register_privacy_url',
'hide_register_type_profile',
'show_education_profession', 'show_education_profession',
'education', 'education',
'state_of_education', 'state_of_education',

View File

@ -60,6 +60,13 @@ return [
'mode' => 'checkbox' 'mode' => 'checkbox'
] ]
], ],
'hide_register_type_profile' => [
'type' => 'anomaly.field_type.boolean',
'config' => [
'default_value' => false,
'mode' => 'checkbox'
]
],
"education" => "anomaly.field_type.tags", "education" => "anomaly.field_type.tags",
"state_of_education" => "anomaly.field_type.tags", "state_of_education" => "anomaly.field_type.tags",
"profession" => "anomaly.field_type.tags", "profession" => "anomaly.field_type.tags",

View File

@ -43,4 +43,8 @@ return [
'profession' => [ 'profession' => [
'name' => '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.',
],
]; ];

View File

@ -205,7 +205,7 @@
</div> </div>
</div> </div>
{% endif %} {% endif %}
<div class="col-md-12"> <div class="col-md-12{{ setting_value('visiosoft.module.profile::hide_register_type_profile') ? ' d-none' }}">
<div class="form-group"> <div class="form-group">
<label class="control-label font-weight-bold"> <label class="control-label font-weight-bold">
{{ trans("visiosoft.module.profile::field.register_type.name") }} {{ trans("visiosoft.module.profile::field.register_type.name") }}