Fix name option for onlineconsultant (#209)

This commit is contained in:
DmitreyZl 2020-12-03 16:34:45 +03:00 committed by GitHub
parent 29bdecfc96
commit cd7f63562d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -464,8 +464,8 @@
<div class="form-group"> <div class="form-group">
<label class="col-sm-2 control-label" for="input-code"><?php echo $entry_code;?></label> <label class="col-sm-2 control-label" for="input-code"><?php echo $entry_code;?></label>
<div class="col-sm-10"> <div class="col-sm-10">
<textarea name="module_retailcrm_online_consultant_code" rows="5" placeholder="<?php echo $entry_code;?>" id="retailcrm_entry_code" class="form-control"> <textarea name="retailcrm_online_consultant_code" rows="5" placeholder="<?php echo $entry_code;?>" id="retailcrm_entry_code" class="form-control">
<?php if (isset($saved_settings['module_retailcrm_online_consultant_code'])): echo $saved_settings['module_retailcrm_online_consultant_code']; endif;?> <?php if (isset($saved_settings['retailcrm_online_consultant_code'])): echo $saved_settings['retailcrm_online_consultant_code']; endif;?>
</textarea> </textarea>
</div> </div>
</div> </div>
@ -473,14 +473,14 @@
<label class="col-sm-2 control-label" for="retailcrm_online_consultant_active"><?php echo $entry_status; ?></label> <label class="col-sm-2 control-label" for="retailcrm_online_consultant_active"><?php echo $entry_status; ?></label>
<div class="col-sm-10"> <div class="col-sm-10">
<label class="radio-inline"> <label class="radio-inline">
<input type="radio" name="module_retailcrm_online_consultant_active" value="1" <?php if (isset($saved_settings['module_retailcrm_online_consultant_active']) && <input type="radio" name="retailcrm_online_consultant_active" value="1" <?php if (isset($saved_settings['retailcrm_online_consultant_active']) &&
$saved_settings['module_retailcrm_online_consultant_active'] == 1) : $saved_settings['retailcrm_online_consultant_active'] == 1) :
echo 'checked'; endif; ?> /> echo 'checked'; endif; ?> />
<?php echo $text_yes; ?> <?php echo $text_yes; ?>
</label> </label>
<label class="radio-inline"> <label class="radio-inline">
<input type="radio" name="module_retailcrm_online_consultant_active" value="0" <?php if (!isset($saved_settings['module_retailcrm_online_consultant_active']) || <input type="radio" name="retailcrm_online_consultant_active" value="0" <?php if (!isset($saved_settings['retailcrm_online_consultant_active']) ||
$saved_settings['module_retailcrm_online_consultant_active'] == 0) : $saved_settings['retailcrm_online_consultant_active'] == 0) :
echo 'checked'; endif; ?> /> echo 'checked'; endif; ?> />
<?php echo $text_no; ?> <?php echo $text_no; ?>
</label> </label>