rm inllegal productId unset
This commit is contained in:
parent
42995cef29
commit
e45cde522a
1 changed files with 0 additions and 4 deletions
|
@ -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'];
|
||||
|
|
Loading…
Add table
Reference in a new issue