|
@@ -388,6 +388,8 @@ Class Manage
|
|
|
$order_num = $v['num'];//订单总数量
|
|
|
$oprice = round($v['oprice'],2);#订单总金额
|
|
|
$coupon_cash = round($v['coupon_cash'],2);
|
|
|
+ $ka = round($ka,2);
|
|
|
+ $money = round($money,2);
|
|
|
} else {
|
|
|
$discount_cash = 0;
|
|
|
$card_code_cash = 0;
|
|
@@ -397,6 +399,8 @@ Class Manage
|
|
|
$order_num = 0;
|
|
|
$oprice = 0;
|
|
|
$coupon_cash = 0;
|
|
|
+ $ka = 0;
|
|
|
+ $money = 0;
|
|
|
}
|
|
|
$dyouhui = round($v1['discount_cash'],2);
|
|
|
$dcard_price = $v['card_code_cash']/$v['oprice']*($v1['price']*$v1['num']);
|
|
@@ -450,8 +454,8 @@ Class Manage
|
|
|
$refund_cdate,
|
|
|
|
|
|
round($refund_cash, 2),
|
|
|
- round($ka,2),
|
|
|
- round($money,2),
|
|
|
+ $ka,
|
|
|
+ $money,
|
|
|
|
|
|
$address_contact,
|
|
|
$address_mobile,
|