From 9918c7dc89e6508c9943ffa24b68c407fa70c146 Mon Sep 17 00:00:00 2001 From: marina Date: Tue, 27 Aug 2024 10:16:51 +0300 Subject: [PATCH] =?utf8?q?ERP-85=20=D0=A0=D0=B5=D0=B0=D0=BB=D0=B8=D0=B7?= =?utf8?q?=D0=BE=D0=B2=D0=B0=D1=82=D1=8C=20=D0=BE=D0=B1=D0=BC=D0=B5=D0=BD?= =?utf8?q?=20=D0=B4=D0=B0=D0=BD=D0=BD=D1=8B=D1=85=20=D1=81=201=D0=A1=20?= =?utf8?q?=D0=91=D1=83=D1=85=D0=B3=D0=B0=D0=BB=D1=82=D0=B5=D1=80=D0=B8?= =?utf8?q?=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/views/motivation/index.php | 2 +- erp24/web/js/motivation/index.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/erp24/views/motivation/index.php b/erp24/views/motivation/index.php index b3970526..afc654a8 100644 --- a/erp24/views/motivation/index.php +++ b/erp24/views/motivation/index.php @@ -78,7 +78,7 @@ $this->registerJsFile('/js/motivation/index.js', ['position' => \yii\web\View::P
user->id)->group_id, Motivation::getAdjustmentEditors())) { - echo Html::button('Внесение корректировок', ['class' => 'btn btn-warning btn-sm btn-adjustment', + echo Html::button('Загрузка корректирующих значений', ['class' => 'btn btn-warning btn-sm btn-adjustment', 'onclick' => 'openUploadDictionary("btn-adjustment");']); } ?>
diff --git a/erp24/web/js/motivation/index.js b/erp24/web/js/motivation/index.js index c2057655..b0401a12 100644 --- a/erp24/web/js/motivation/index.js +++ b/erp24/web/js/motivation/index.js @@ -15,9 +15,9 @@ function openUploadDictionary(buttonType) { let additionalParams = {}; if (buttonType === 'btn-adjustment') { - title = 'Внесение корректировок'; + title = 'Загрузка корректирующих значений'; downloadLink = '/files/download?url=/uploads/template_adjustment.xlsx'; - linkText = 'Шаблон. Внесение корректировок'; + linkText = 'Шаблон.Корректировка'; additionalParams = { adjustment: true }; // Add additional parameters for adjustment } -- 2.39.5