|
|
@ -1925,12 +1925,12 @@ function excelUpStreamTemplate($data, $all_sum_money, $all_pay_amount, $big_all_
|
|
|
|
if($value['first_ratio'] == 0){
|
|
|
|
if($value['first_ratio'] == 0){
|
|
|
|
$value['first_ratio'] = 0;
|
|
|
|
$value['first_ratio'] = 0;
|
|
|
|
}else{
|
|
|
|
}else{
|
|
|
|
$value['first_ratio'] = number_format($value['first_ratio'], 2);
|
|
|
|
$value['first_ratio'] = number_format($value['first_ratio']);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if($value['second_ratio'] == 0) {
|
|
|
|
if($value['second_ratio'] == 0) {
|
|
|
|
$value['second_ratio'] = 0;
|
|
|
|
$value['second_ratio'] = 0;
|
|
|
|
}else{
|
|
|
|
}else{
|
|
|
|
$value['second_ratio'] = number_format($value['second_ratio'], 2);
|
|
|
|
$value['second_ratio'] = number_format($value['second_ratio']);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if($value['promote_ratio'] == 0) $value['promote_ratio'] = 0;
|
|
|
|
if($value['promote_ratio'] == 0) $value['promote_ratio'] = 0;
|
|
|
|
if($value['fax_ratio'] == 0) $value['fax_ratio'] = 0;
|
|
|
|
if($value['fax_ratio'] == 0) $value['fax_ratio'] = 0;
|
|
|
@ -2041,12 +2041,12 @@ function excelDownStreamTemplate($data, $all_sum_money, $all_pay_amount, $big_al
|
|
|
|
if($value['increment_ratio'] == 0){
|
|
|
|
if($value['increment_ratio'] == 0){
|
|
|
|
$value['increment_ratio'] = 0;
|
|
|
|
$value['increment_ratio'] = 0;
|
|
|
|
}else{
|
|
|
|
}else{
|
|
|
|
$value['increment_ratio'] = number_format($value['first_ratio'], 2);
|
|
|
|
$value['increment_ratio'] = number_format($value['first_ratio']);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if($value['ratio'] == 0) {
|
|
|
|
if($value['ratio'] == 0) {
|
|
|
|
$value['ratio'] = 0;
|
|
|
|
$value['ratio'] = 0;
|
|
|
|
}else{
|
|
|
|
}else{
|
|
|
|
$value['ratio'] = number_format($value['ratio'], 2);
|
|
|
|
$value['ratio'] = number_format($value['ratio']);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if($value['fax_ratio'] == 0) $value['fax_ratio'] = 0;
|
|
|
|
if($value['fax_ratio'] == 0) $value['fax_ratio'] = 0;
|
|
|
|
|
|
|
|
|
|
|
|