From: marina Date: Thu, 19 Jun 2025 07:14:36 +0000 (+0300) Subject: правки X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=f38267096f6ecc0cdd5546229d93fab87de5a990;p=erp24_rep%2Fyii-erp24%2F.git правки --- 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(