|
|
@ -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{
|
|
|
|
|
|
|
|
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);
|
|
|
|
$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']];
|
|
|
|