|
|
|
|
|
|
|
|
$productOrder->quantity = $quantity; |
|
|
$productOrder->quantity = $quantity; |
|
|
$productOrder->price = $dataProductOrder->price; |
|
|
$productOrder->price = $dataProductOrder->price; |
|
|
|
|
|
|
|
|
if(isset($dataProductOrder->invoice_price) |
|
|
|
|
|
&& $dataProductOrder->invoice_price |
|
|
|
|
|
&& $dataProductOrder->invoice_price != $dataProductOrder->price) { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(isset($dataProductOrder->invoice_price) && $dataProductOrder->invoice_price) { |
|
|
$productOrder->invoice_price = $dataProductOrder->invoice_price; |
|
|
$productOrder->invoice_price = $dataProductOrder->invoice_price; |
|
|
} |
|
|
} |
|
|
} else { |
|
|
} else { |