mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-30 14:31:04 +00:00
售后订单显示问题
This commit is contained in:
parent
3737d0711b
commit
8bb01492e5
@ -1037,7 +1037,13 @@ class StoreOrderRefundServices extends BaseServices
|
||||
foreach ($cartInfo as $cart) {
|
||||
if (isset($cart['cart_info'])) $cart = $cart['cart_info'];
|
||||
if ($is_unit) {
|
||||
$SumPrice = bcadd($SumPrice, bcmul($cart['cart_num'] ?? 1, $cart[$key] ?? 0, 2), 2);
|
||||
if ($key == 'level' || $key == 'member') {
|
||||
if ($cart['price_type'] == $key) {
|
||||
$SumPrice = bcadd($SumPrice, bcmul($cart['cart_num'] ?? 1, $cart['vip_truePrice'], 2), 2);
|
||||
}
|
||||
} else {
|
||||
$SumPrice = bcadd($SumPrice, bcmul($cart['cart_num'] ?? 1, $cart[$key] ?? 0, 2), 2);
|
||||
}
|
||||
} else {
|
||||
$SumPrice = bcadd($SumPrice, $cart[$key] ?? 0, 2);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user