From 48e8a1849beb7c269374c9755e6b6d82ecead358 Mon Sep 17 00:00:00 2001 From: Alexander Smirnov Date: Mon, 2 Sep 2024 15:27:19 +0300 Subject: [PATCH] =?utf8?q?[ERP-130]=20=D0=94=D0=B5=D0=B1=D0=B0=D0=B3=20015?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/services/MotivationService.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/erp24/services/MotivationService.php b/erp24/services/MotivationService.php index 1bdd0fe0..bdde863d 100644 --- a/erp24/services/MotivationService.php +++ b/erp24/services/MotivationService.php @@ -469,8 +469,10 @@ class MotivationService foreach ($selfCostProduct as $scp) { $selfCostProductMap[$scp['date']][$scp['product_guid']] = floatval($scp['price']); } - var_dump($selfCostProductMap); - die; + if ($ind == 3) { + var_dump($selfCostProductMap); + die; + } foreach (MotivationCostsItem::getWriteOffsItems() as $key) { $sum = 0; foreach($writeOffs as $data) { -- 2.39.5