|
|
|
@ -228,9 +228,6 @@ class ExcelPaymentController extends BaseController
|
|
|
|
|
$val['increment_ratio'] = $val['increment_ratio']*100;
|
|
|
|
|
//J3*(K3+L3)+M3-N3
|
|
|
|
|
$val['sum_money'] = "=J{$line}*(K{$line}+L{$line})+M{$line}-N{$line}";
|
|
|
|
|
$count['sum_money_exp'] .= "O{$line}+";
|
|
|
|
|
$count['platform_amount_exp'] .= "J{$line}+";
|
|
|
|
|
|
|
|
|
|
}else{
|
|
|
|
|
$count['platform_amount'] += $val['pay_amount'];
|
|
|
|
|
$count['sum_money'] += $val['sum_money'];
|
|
|
|
@ -240,8 +237,8 @@ class ExcelPaymentController extends BaseController
|
|
|
|
|
$v['row'] = $row;
|
|
|
|
|
}
|
|
|
|
|
if($is_export){
|
|
|
|
|
$count["platform_amount"] = "=".trim($count["platform_amount_exp"],"+");
|
|
|
|
|
$count["sum_money"] = "=".trim($count["sum_money_exp"],"+");
|
|
|
|
|
$count["platform_amount"] = "=SUM(J2:J".$line.")";
|
|
|
|
|
$count["sum_money"] = "=SUM(O2:O".$line.")";
|
|
|
|
|
}
|
|
|
|
|
$this->assign("data",$infolist);
|
|
|
|
|
$this->assign("count",$count);
|
|
|
|
|