From 5352ba4af3df1b7b3eefefd1b2c8f609facc41dd Mon Sep 17 00:00:00 2001 From: Alexander Smirnov Date: Wed, 4 Sep 2024 09:40:01 +0300 Subject: [PATCH] =?utf8?q?[ERP-100]=20=D1=80=D0=B5=D1=84=D0=B0=D0=BA=D1=82?= =?utf8?q?=D0=BE=D1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/services/MotivationService.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/erp24/services/MotivationService.php b/erp24/services/MotivationService.php index 243a4ca9..2786a266 100644 --- a/erp24/services/MotivationService.php +++ b/erp24/services/MotivationService.php @@ -588,8 +588,6 @@ class MotivationService ->andWhere(['product_id' => array_keys($products1cDelivery)]) ->asArray()->one(); - $motivationCostsItem = MotivationCostsItem::find()->where(['name' => 'Услуги по доставке'])->one(); - /** @var $motivationCostsItem MotivationCostsItem */ if ($motivation) { self::saveOrUpdateMotivationValue($motivation->id, 'week' . $ind, self::CODE_DELIVERY_SERVICES, 'float', ($salesProduct['total'] ?? 0)); -- 2.39.5