调整服务团队佣金结算
This commit is contained in:
parent
e066be0bbc
commit
deb2f187ab
@ -372,12 +372,13 @@ class StoreOrderRepository extends BaseRepository
|
||||
$_order_rate = bcsub($order->pay_price, $_payPrice, 2);
|
||||
|
||||
//计算镇级供应链云仓实际获得金额
|
||||
if ($_order_rate > 0) {
|
||||
$commission_rate = bcdiv(12, 100, 2);
|
||||
$_payPrice = bcmul($_order_rate, $commission_rate, 2);
|
||||
} else {
|
||||
$_payPrice = 0;
|
||||
}
|
||||
// 服务团队佣金统一由新供销平台结算
|
||||
// if ($_order_rate > 0) {
|
||||
// $commission_rate = bcdiv(12, 100, 2);
|
||||
// $_payPrice = bcmul($_order_rate, $commission_rate, 2);
|
||||
// } else {
|
||||
// $_payPrice = 0;
|
||||
// }
|
||||
} else {
|
||||
$_payPrice = $order->pay_price;
|
||||
$_order_rate = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user