Compare commits
3 Commits
da24bed422
...
eb84b1d28b
| Author | SHA1 | Date | |
|---|---|---|---|
| eb84b1d28b | |||
| 0c2ed12a53 | |||
| 1a2682f86e |
@ -1174,12 +1174,19 @@ class OrderLogic extends Logic
|
||||
$order_data['district'] = $address['district_id'];
|
||||
$order_data['address'] = $address['address'];
|
||||
$order_data['mobile'] = $address['telephone'];
|
||||
$order_data['goods_price'] = round(0.88*$goods_price,2);
|
||||
$act_price = 1;
|
||||
if(isset($post['act_id'])){
|
||||
if($post['act_id'] != 1){
|
||||
$act_price = 0.88;
|
||||
}
|
||||
}
|
||||
$order_data['goods_price'] = round($act_price*$goods_price,2);
|
||||
$order_data['order_amount'] = round($act_price*$order_amount,2);
|
||||
$order_data['discount_amount'] = round($act_price*$discount_amount,2);
|
||||
$order_data['member_amount'] = round($act_price*$member_amount,2);
|
||||
$order_data['total_amount'] = round($act_price*$total_amount,2);
|
||||
$order_data['shipping_price'] = $shipping_price;
|
||||
$order_data['order_amount'] = round(0.88*$order_amount,2);
|
||||
$order_data['discount_amount'] = round(0.88*$discount_amount,2);
|
||||
$order_data['member_amount'] = round(0.88*$member_amount,2);
|
||||
$order_data['total_amount'] = round(0.88*$total_amount,2);
|
||||
|
||||
$order_data['total_num'] = array_sum(array_column($goods, 'num'));
|
||||
$order_data['user_remark'] = $remark;
|
||||
$order_data['distribution_money'] = 0;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user