]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
правки
authormarina <m.zozirova@gmail.com>
Thu, 19 Jun 2025 07:14:36 +0000 (10:14 +0300)
committermarina <m.zozirova@gmail.com>
Thu, 19 Jun 2025 07:14:36 +0000 (10:14 +0300)
erp24/web/js/autoplannogramma/autoplannogramma.js

index e898bb2f63cb68ef745c718caa97cc8926889457..2ed2198b432964db463da0889ba3a428d3bdaba9 100644 (file)
@@ -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(