|
@@ -159,9 +159,10 @@ Class Manage
|
|
#代理优惠金额
|
|
#代理优惠金额
|
|
$discount_cash = round($v['discount_cash']/$goods_price,2);
|
|
$discount_cash = round($v['discount_cash']/$goods_price,2);
|
|
#商品实付金额
|
|
#商品实付金额
|
|
- $price = round(($v['price']/$goods_price),2);
|
|
|
|
|
|
+ $price = round(($goods_price/$v['oprice']*$v['price']),2);
|
|
|
|
+ //round(($v['price']/$goods_price),2);
|
|
#礼品卡金额
|
|
#礼品卡金额
|
|
- $card_code_cash = round(($v['card_code_cash']/$goods_price),2);
|
|
|
|
|
|
+ $card_code_cash = round($v['card_code_cash'],2);
|
|
#钱包金额
|
|
#钱包金额
|
|
$wallet_cash = round(($v['wallet_cash']/$goods_price),2);
|
|
$wallet_cash = round(($v['wallet_cash']/$goods_price),2);
|
|
#商品支付金额
|
|
#商品支付金额
|
|
@@ -217,6 +218,8 @@ Class Manage
|
|
$v['wallet_cash'] = $v['wallet_cash'];
|
|
$v['wallet_cash'] = $v['wallet_cash'];
|
|
$v['coupon_cash'] = $v['coupon_cash'];
|
|
$v['coupon_cash'] = $v['coupon_cash'];
|
|
$v['discount_cash'] = $v['discount_cash'];
|
|
$v['discount_cash'] = $v['discount_cash'];
|
|
|
|
+ $card_code_cash = round($v['card_code_cash'],2);#礼品卡金额
|
|
|
|
+ $wallet_cash = round($v['wallet_cash'],2);#钱包金额
|
|
$ka = $ka;
|
|
$ka = $ka;
|
|
$money = $money;
|
|
$money = $money;
|
|
} else {
|
|
} else {
|
|
@@ -226,6 +229,8 @@ Class Manage
|
|
$v['wallet_cash'] = 0;
|
|
$v['wallet_cash'] = 0;
|
|
$v['coupon_cash'] = 0;
|
|
$v['coupon_cash'] = 0;
|
|
$v['discount_cash'] = 0;
|
|
$v['discount_cash'] = 0;
|
|
|
|
+ $card_code_cash = 0;
|
|
|
|
+ $wallet_cash = 0;
|
|
$ka = 0;
|
|
$ka = 0;
|
|
$money = 0;
|
|
$money = 0;
|
|
}
|
|
}
|