fix : coupon
This commit is contained in:
@@ -200,7 +200,7 @@ class PlaceOrderService extends BaseOrderService
|
|||||||
$orderInsertModel->type = $this->orderType;
|
$orderInsertModel->type = $this->orderType;
|
||||||
$orderInsertModel->total_price = $this->orderRes['total_price'];
|
$orderInsertModel->total_price = $this->orderRes['total_price'];
|
||||||
$orderInsertModel->actual_price = max($this->orderRes['actual_price'], 0);
|
$orderInsertModel->actual_price = max($this->orderRes['actual_price'], 0);
|
||||||
$orderInsertModel->discount_price = $this->orderRes['favorable_sundry_price'] + $this->orderRes['favorable_good_price'];
|
$orderInsertModel->discount_price = $this->orderRes['discount_price'];
|
||||||
$orderInsertModel->append_price = $this->orderRes['sundry_price'];
|
$orderInsertModel->append_price = $this->orderRes['sundry_price'];
|
||||||
$orderInsertModel->append_copies = $this->orderRes['sundry_num'];
|
$orderInsertModel->append_copies = $this->orderRes['sundry_num'];
|
||||||
$orderInsertModel->status = OrderCode::WAIT_PAY;
|
$orderInsertModel->status = OrderCode::WAIT_PAY;
|
||||||
|
|||||||
Reference in New Issue
Block a user