]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
[ERP-130] Дебаг 018
authorAlexander Smirnov <fredeom@mail.ru>
Mon, 2 Sep 2024 12:31:58 +0000 (15:31 +0300)
committerAlexander Smirnov <fredeom@mail.ru>
Mon, 2 Sep 2024 12:31:58 +0000 (15:31 +0300)
erp24/services/MotivationService.php

index e407963b9dc9d89fc3eb570fd03f9ce868724e32..40e18f8a74615385af015454b309b4b605813403 100644 (file)
@@ -477,7 +477,10 @@ class MotivationService
                             continue;
                         }
                         $sum += ($selfCostProductMap[$data['date']][$data['product_id']] ?? 0) * ($data['quantity'] ?? 0);
-                        var_dump($data);
+                        if ($ind == 3) {
+                            var_dump($data['quantity']);
+                            var_dump($selfCostProductMap[$data['date']][$data['product_id']]);
+                        }
                     }
 
                     $motivationItemType = MotivationCostsItem::writeOffsToMotivationItemMap($key);