From d219f79dc71de142299fd0a02237c12ef1df8223 Mon Sep 17 00:00:00 2001 From: marina Date: Tue, 17 Jun 2025 11:48:55 +0300 Subject: [PATCH] =?utf8?q?ERP-360=20=D0=A1=D0=B1=D0=BE=D1=80=D0=BA=D0=B0?= =?utf8?q?=20=D1=81=D1=82=D1=80=D0=B0=D0=BD=D0=B8=D1=86=D1=8B=20=D0=B0?= =?utf8?q?=D0=B2=D1=82=D0=BE=D0=BF=D0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/views/auto-plannogramma/index.php | 3 ++- erp24/web/js/autoplannogramma/autoplannogramma.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/erp24/views/auto-plannogramma/index.php b/erp24/views/auto-plannogramma/index.php index 797bfca4..abccadb6 100644 --- a/erp24/views/auto-plannogramma/index.php +++ b/erp24/views/auto-plannogramma/index.php @@ -174,7 +174,8 @@ $this->registerJsFile('/js/autoplannogramma/autoplannogramma.js', ['position' => - 'label-year-week']) ?>
+ 'label-year']) ?>
+ 'label-week']) ?>
'label-month-range']) ?>
'label-capacity-type']) ?>
'label-city']) ?>
diff --git a/erp24/web/js/autoplannogramma/autoplannogramma.js b/erp24/web/js/autoplannogramma/autoplannogramma.js index 6f46f7e9..cab6cf97 100644 --- a/erp24/web/js/autoplannogramma/autoplannogramma.js +++ b/erp24/web/js/autoplannogramma/autoplannogramma.js @@ -228,7 +228,8 @@ function getSelectedText(selector) { } function updateFilterLabels(data) { - $('.label-year-week').text(`год: ${data.year || ''} неделя: ${data.week || ''}`); + $('.label-year').text(`год: ${data.year || ''}`); + $('.label-week').text(`неделя: ${data.week || ''}`); $('.label-month-range').text(`Месяц: ${getMonthByWeek($('#week').val(), $('#year').val()) || ''}`); $('.month-label').text(`Месяц: ${getMonthByWeek($('#week').val(), $('#year').val()) || ''}`); $('.label-capacity-type').text('Тип п-ма: ' + getSelectedText('#polnogramma-type')); -- 2.39.5