1
0
mirror of synced 2024-11-22 13:26:10 +03:00

rm inllegal productId unset

This commit is contained in:
Grisha Pomadchin 2014-11-11 14:58:42 +04:00
parent 42995cef29
commit e45cde522a

View File

@ -1255,10 +1255,6 @@ class ICrmOrderActions
'comment' => $p['NOTES'],
);
//if this item generated through admin interface, then unset productId
if(empty($pr))
unset($item['productId']);
//if it is canceled product don't send price
if (!$propCancel) {
$item['initialPrice'] = (double) $p['PRICE'] + (double) $p['DISCOUNT_PRICE'];