fixed output "status_changes" option

This commit is contained in:
Дмитрий 2019-12-06 11:01:26 +03:00
parent 82ff3628cd
commit 268e5b4279

View File

@ -130,14 +130,14 @@
<div class="col-sm-10"> <div class="col-sm-10">
<label class="radio-inline"> <label class="radio-inline">
<input type="radio" name="module_retailcrm_status_changes" value="1" <input type="radio" name="module_retailcrm_status_changes" value="1"
{% if saved_settings.retailcrm_status_changes is defined and saved_settings.retailcrm_status_changes == 1 %} {% if saved_settings.module_retailcrm_status_changes is defined and saved_settings.module_retailcrm_status_changes == 1 %}
checked checked
{% endif %} /> {% endif %} />
{{ text_yes }} {{ text_yes }}
</label> </label>
<label class="radio-inline"> <label class="radio-inline">
<input type="radio" name="module_retailcrm_status_changes" value="0" <input type="radio" name="module_retailcrm_status_changes" value="0"
{% if saved_settings.retailcrm_status_changes is not defined or saved_settings.retailcrm_status_changes == 0 %} {% if saved_settings.module_retailcrm_status_changes is not defined or saved_settings.module_retailcrm_status_changes == 0 %}
checked checked
{% endif %} /> {% endif %} />
{{ text_no }} {{ text_no }}