From 3d942d60242c6076324faccfede855d01397ca69 Mon Sep 17 00:00:00 2001 From: marina Date: Tue, 24 Jun 2025 10:03:19 +0300 Subject: [PATCH] =?utf8?q?=D0=BF=D1=80=D0=B0=D0=B2=D0=BA=D0=B0=20=D0=BE?= =?utf8?q?=D1=82=D0=BE=D0=B1=D1=80=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D1=8F=20?= =?utf8?q?=D0=B8=20=D1=81=D0=BA=D1=80=D1=8B=D1=82=D0=B8=D1=8F=20=D0=BF?= =?utf8?q?=D0=BE=D0=B4=D0=BA=D0=B0=D1=82=D0=B5=D0=B3=D0=BE=D1=80=D0=B8?= =?utf8?q?=D0=B9=20=D0=B8=20=D0=BA=D0=B0=D1=82=D0=B5=D0=B3=D0=BE=D1=80?= =?utf8?q?=D0=B8=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/web/js/autoplannogramma/autoplannogramma.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/erp24/web/js/autoplannogramma/autoplannogramma.js b/erp24/web/js/autoplannogramma/autoplannogramma.js index e337b58d..d89d4a57 100644 --- a/erp24/web/js/autoplannogramma/autoplannogramma.js +++ b/erp24/web/js/autoplannogramma/autoplannogramma.js @@ -204,17 +204,6 @@ $('.category .list-group-item').on('click', function () { $('.loader-overlay').removeClass('d-none'); - $('tr.subcategory-row').each(function () { - const $span = $(this).find('.list-group-item[data-category][data-subcategory]').first(); - const rowCategory = $span.data('category'); - - if (rowCategory === category) { - $(this).removeClass('d-none'); - } else { - $(this).addClass('d-none'); - } - }); - $.get('/auto-plannogramma/get-subcategories', {category, year, week}, function (subcategories) { const subMap = {}; subcategories.forEach(sub => { -- 2.39.5