From f38267096f6ecc0cdd5546229d93fab87de5a990 Mon Sep 17 00:00:00 2001 From: marina Date: Thu, 19 Jun 2025 10:14:36 +0300 Subject: [PATCH] =?utf8?q?=D0=BF=D1=80=D0=B0=D0=B2=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/web/js/autoplannogramma/autoplannogramma.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/erp24/web/js/autoplannogramma/autoplannogramma.js b/erp24/web/js/autoplannogramma/autoplannogramma.js index e898bb2f..2ed2198b 100644 --- a/erp24/web/js/autoplannogramma/autoplannogramma.js +++ b/erp24/web/js/autoplannogramma/autoplannogramma.js @@ -421,13 +421,7 @@ const generateTitleString = (titleRaw) => { let result = `${title}: ${quantity}`; - if (typeKey === 'writeOffs') { - if (typeof typeValue.quantity === 'number') { - result += `\n- Количество: ${parseFloat(typeValue.quantity).toFixed(2)}`; - } - } - - else if (typeof typeValue.groups === 'object' && typeValue.groups !== null) { + if (typeof typeValue.groups === 'object' && typeValue.groups !== null) { const groupEntries = Object.entries(typeValue.groups); if (groupEntries.length > 0) { const lines = groupEntries.map( -- 2.39.5