From 8fda1af39866808023413d1b4d65ecdcb21f7cd2 Mon Sep 17 00:00:00 2001 From: Arsen Mirzaev Tatyano-Muradovich Date: Mon, 31 Jan 2022 15:00:13 +1000 Subject: [PATCH] =?UTF-8?q?=D0=B8=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mirzaev/skillparts/system/views/profile/panel.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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\')']); ?> Время которое нужно добавить к доставке (дни)