исправление

This commit is contained in:
Arsen Mirzaev Tatyano-Muradovich 2022-01-31 15:00:13 +10:00
parent 953f99245c
commit 8fda1af398

View File

@ -282,7 +282,7 @@ $timezone = $timezone[1][0];
<div class="col">
<?php
$form = ActiveForm::begin([
'id' => 'form_profile_panel_settings_search_period',
'id' => 'form_profile_panel_settings_addition_global',
'action' => false,
'fieldConfig' => [
'template' => '{label}{input}',
@ -296,14 +296,14 @@ $timezone = $timezone[1][0];
<?= $form->errorSummary($model_settings, ['header' => 'Получены ошибки:']) ?>
<?= $form->field($model_settings, 'addition_global', ['options' => ['class' => "mb-1"]])->textInput(['value' => $model_settings['search_period'], 'onChange' => 'page_profile_panel_settings(this.parentElement.parentElement, \'profile_panel_input_settings\')']); ?>
<?= $form->field($model_settings, 'addition_global', ['options' => ['class' => "mb-1"]])->textInput(['value' => $model_settings['addition_global'], 'onChange' => 'page_profile_panel_settings(this.parentElement.parentElement, \'profile_panel_input_settings\')']); ?>
<small class="d-block mb-1">Коэффициент умножаемый на цену каждого товара (доставка считается отдельно)</small>
<?php ActiveForm::end(); ?>
<?php
$form = ActiveForm::begin([
'id' => 'form_profile_panel_settings_search_period',
'id' => 'form_profile_panel_settings_delivery_addition_global',
'action' => false,
'fieldConfig' => [
'template' => '{label}{input}',
@ -315,7 +315,7 @@ $timezone = $timezone[1][0];
]);
?>
<?= $form->field($model_settings, 'delivery_addition_global', ['options' => ['class' => "mb-1"]])->textInput(['value' => $model_settings['search_period'], 'onChange' => 'page_profile_panel_settings(this.parentElement.parentElement, \'profile_panel_input_settings\')']); ?>
<?= $form->field($model_settings, 'delivery_addition_global', ['options' => ['class' => "mb-1"]])->textInput(['value' => $model_settings['delivery_addition_global'], 'onChange' => 'page_profile_panel_settings(this.parentElement.parentElement, \'profile_panel_input_settings\')']); ?>
<small class="d-block mb-1">Время которое нужно добавить к доставке (дни)</small>
<?php ActiveForm::end(); ?>