特殊补点分成金额功能修正

master
zhengyongxing 4 years ago
parent a29a8e43ff
commit eac0fc61c0

@ -351,11 +351,19 @@ class CompanyStatementPoolController extends ThinkController
$va['d_statement_money'] = "=D{$line}*(F{$line})"; $va['d_statement_money'] = "=D{$line}*(F{$line})";
} }
}else{ }else{
$va['d_statement_money'] = round($va['pay_amount']*($va['ratio']+$va['increment_ratio'])*(100-$va['fax_ratio'])/100/100,2); 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['platform_amount'] += $va['pay_amount'];
$count['d_statement_money'] += $va['d_statement_money']; $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']]; $v['settlement_contact'] = $Partner[$v['company_id']];

Loading…
Cancel
Save