master
wangxinglong 2022-03-15 15:22:54 +08:00
parent d9e24c9e39
commit 12b6ada71c
1 changed files with 6 additions and 0 deletions

View File

@ -570,6 +570,12 @@ class Coupon extends Base
$agencyMoney = (($deductionMoney/100) * $coupon->couponMain->commission_agency);
$adminMoney = (($deductionMoney/100) * $coupon->couponMain->commission_admin);
$consumerMoney = (($deductionMoney/100) * $coupon->couponMain->commission_consumer);
$disAdminMoney = (($deductionMoney/100) * $coupon->couponMain->commission_dis_admin);
$disDistributionMoney = (($deductionMoney/100) * $coupon->couponMain->commission_dis_distribution);
$disDistributedMoney = (($deductionMoney/100) * $coupon->couponMain->commission_dis_distributed);
$agencyMoney = round($agencyMoney,2); //四舍五入 精确到分
$adminMoney = round($adminMoney,2); //四舍五入 精确到分
$consumerMoney = round($consumerMoney,2); //四舍五入 精确到分