From 7a4c0e2d2f9a010d31ea35f64af50775d0e1c0e6 Mon Sep 17 00:00:00 2001 From: Alexander Smirnov Date: Mon, 2 Sep 2024 15:31:58 +0300 Subject: [PATCH] =?utf8?q?[ERP-130]=20=D0=94=D0=B5=D0=B1=D0=B0=D0=B3=20018?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/services/MotivationService.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/erp24/services/MotivationService.php b/erp24/services/MotivationService.php index e407963b..40e18f8a 100644 --- a/erp24/services/MotivationService.php +++ b/erp24/services/MotivationService.php @@ -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); -- 2.39.5