rm inllegal productId unset
This commit is contained in:
parent
42995cef29
commit
e45cde522a
@ -1255,10 +1255,6 @@ class ICrmOrderActions
|
|||||||
'comment' => $p['NOTES'],
|
'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 it is canceled product don't send price
|
||||||
if (!$propCancel) {
|
if (!$propCancel) {
|
||||||
$item['initialPrice'] = (double) $p['PRICE'] + (double) $p['DISCOUNT_PRICE'];
|
$item['initialPrice'] = (double) $p['PRICE'] + (double) $p['DISCOUNT_PRICE'];
|
||||||
|
Loading…
Reference in New Issue
Block a user