|
|
|
@ -1902,7 +1902,7 @@ function excelUpStreamTemplate($data, $all_sum_money, $all_pay_amount, $big_all_
|
|
|
|
|
//增加结算记录
|
|
|
|
|
foreach ($data['statement_info'] as $key => $value) {
|
|
|
|
|
$objPHPExcel->getActiveSheet()->insertNewRowBefore($line,1)->mergeCells("J$line:K$line");
|
|
|
|
|
$objPHPExcel->getActiveSheet()->setCellValue('C'.$line, $value['statement_begin_time'] . '-' . $value['statement_end_time']);
|
|
|
|
|
$objPHPExcel->getActiveSheet()->setCellValue('C'.$line, $value['statement_begin_time'].'-'.$value['statement_end_time']);
|
|
|
|
|
if ($value['statement_type'] > 0) {//罚款
|
|
|
|
|
$product_name = $value['game_name'];
|
|
|
|
|
$objPHPExcel->getActiveSheet()->setCellValue('F'.$line , '-');
|
|
|
|
@ -2019,7 +2019,7 @@ function excelDownStreamTemplate($data, $all_sum_money, $all_pay_amount, $big_al
|
|
|
|
|
$objPHPExcel->getActiveSheet()->insertNewRowBefore($line,1);
|
|
|
|
|
$objPHPExcel->getActiveSheet()->removeConditionalStyles();
|
|
|
|
|
|
|
|
|
|
$objPHPExcel->getActiveSheet()->setCellValue('A'.$line, $value['statement_begin_time'] . '-' . $value['statement_end_time']);
|
|
|
|
|
$objPHPExcel->getActiveSheet()->setCellValue('A'.$line, $value['statement_begin_time'].'-'.$value['statement_end_time']);
|
|
|
|
|
if ($value['statement_type'] > 0) {//罚款
|
|
|
|
|
$product_name = $value['game_name'];
|
|
|
|
|
$objPHPExcel->getActiveSheet()->setCellValue('D'.$line, '-');
|
|
|
|
|