From: Alexander Smirnov Date: Thu, 29 Aug 2024 13:40:09 +0000 (+0300) Subject: [ERP-130] Дебаг 001 X-Git-Tag: 1.4~11^2~28 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=ae35d8dea31e2eb9cc6f1f876e9e3e0aa9c7cc5e;p=erp24_rep%2Fyii-erp24%2F.git [ERP-130] Дебаг 001 --- diff --git a/erp24/services/MotivationService.php b/erp24/services/MotivationService.php index df6d12b7..999e92af 100644 --- a/erp24/services/MotivationService.php +++ b/erp24/services/MotivationService.php @@ -465,7 +465,7 @@ class MotivationService ->andWhere(['store_id' => $store_id]) ->indexBy('product_guid') ->asArray()->all(); - +var_dump($writeOffs); var_dump("--------------------------------------------"); var_dump($selfCostProduct); die; foreach (MotivationCostsItem::getWriteOffsItems() as $key) { $data = $writeOffs[$key] ?? null; $sum = 0;