|
|
@@ -798,8 +798,9 @@ class OrderController extends BaseController
|
|
|
$currentId = $currentProduct['productId'] ?? 0;
|
|
|
$systemInfo = $itemInfo[$currentId] ?? [];
|
|
|
$systemPrice = $systemInfo['price'] ?? 0;
|
|
|
+ $systemDiscountPrice = $systemInfo['discountPrice'] ?? 0;
|
|
|
$name = $systemInfo['name'] ?? '';
|
|
|
- if (floatval($currentPrice) != floatval($systemPrice)) {
|
|
|
+ if (floatval($currentPrice) != floatval($systemPrice) && floatval($currentPrice) != floatval($systemDiscountPrice)) {
|
|
|
$diff[] = [
|
|
|
'name' => $name,
|
|
|
'price' => $systemPrice,
|