|
|
@@ -957,8 +957,10 @@ class OrderController extends BackendController |
|
|
|
$productOrder->quantity = $quantity; |
|
|
|
$productOrder->price = $dataProductOrder->price; |
|
|
|
|
|
|
|
if($dataProductOrder->invoice_price && $dataProductOrder->invoice_price != $dataProductOrder->price) { |
|
|
|
//die('invoice price : '.$dataProductOrder->invoice_price); |
|
|
|
if(isset($dataProductOrder->invoice_price) |
|
|
|
&& $dataProductOrder->invoice_price |
|
|
|
&& $dataProductOrder->invoice_price != $dataProductOrder->price) { |
|
|
|
|
|
|
|
$productOrder->invoice_price = $dataProductOrder->invoice_price; |
|
|
|
} |
|
|
|
} else { |