Merge branch 'hotfix/market_percentage' of wmtx/platform into release

特殊补点分成金额功能修正
master
郑永星 4 years ago committed by Gogs
commit 1aebf2b939

@ -351,11 +351,19 @@ class CompanyStatementPoolController extends ThinkController
$va['d_statement_money'] = "=D{$line}*(F{$line})";
}
}else{
if ($v['withdraw_type'] != 3) {
$va['d_statement_money'] = round($va['pay_amount']*($va['ratio']+$va['increment_ratio'])*(100-$va['fax_ratio'])/100/100,2);
$count['platform_amount'] += $va['pay_amount'];
$count['d_statement_money'] += $va['d_statement_money'];
} else {
$va['d_statement_money'] = round(($va['pay_amount']*($va['increment_ratio']))/100,2);
$count['platform_amount'] += $va['pay_amount'];
$count['d_statement_money'] += $va['d_statement_money'];
}
}
}
$v['settlement_contact'] = $Partner[$v['company_id']];

Loading…
Cancel
Save