From 0e67c1d93d68c77f53eb8a7984efadffaf93d5d9 Mon Sep 17 00:00:00 2001 From: Pavel Date: Wed, 19 Feb 2020 14:57:03 +0300 Subject: [PATCH] don't write in DISCOUNT_PRICE --- intaro.retailcrm/classes/general/history/RetailCrmHistory_v5.php | 1 - 1 file changed, 1 deletion(-) diff --git a/intaro.retailcrm/classes/general/history/RetailCrmHistory_v5.php b/intaro.retailcrm/classes/general/history/RetailCrmHistory_v5.php index 1b86a3cc..4622d78f 100644 --- a/intaro.retailcrm/classes/general/history/RetailCrmHistory_v5.php +++ b/intaro.retailcrm/classes/general/history/RetailCrmHistory_v5.php @@ -769,7 +769,6 @@ class RetailCrmHistory $item->setField('CUSTOM_PRICE', 'Y'); $item->setField('DISCOUNT_NAME', ''); $item->setField('DISCOUNT_VALUE', ''); - $item->setField('DISCOUNT_PRICE', $product['discountTotal_sum']); // Полную цену позиции с учётом скидок делим на количество - получаем цену каждой единицы // товара с учётом скидок.