diff --git a/mirzaev/skillparts/system/views/profile/panel.php b/mirzaev/skillparts/system/views/profile/panel.php index bcb5276..6fbd5d2 100644 --- a/mirzaev/skillparts/system/views/profile/panel.php +++ b/mirzaev/skillparts/system/views/profile/panel.php @@ -282,7 +282,7 @@ $timezone = $timezone[1][0];
'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]; errorSummary($model_settings, ['header' => 'Получены ошибки:']) ?> - 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\')']); ?> + 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\')']); ?> Коэффициент умножаемый на цену каждого товара (доставка считается отдельно) '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]; ]); ?> - 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\')']); ?> + 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\')']); ?> Время которое нужно добавить к доставке (дни)