From: marina Date: Tue, 27 Aug 2024 07:16:51 +0000 (+0300) Subject: ERP-85 Реализовать обмен данных с 1С Бухгалтерия X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=refs%2Fremotes%2Forigin%2Ffeature_zozirova_erp-102_adjustment;p=erp24_rep%2Fyii-erp24%2F.git ERP-85 Реализовать обмен данных с 1С Бухгалтерия --- 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 }