|
|
@ -1865,7 +1865,7 @@ function excelUpStreamTemplate($data, $all_sum_money, $all_pay_amount, $big_all_
|
|
|
|
foreach ($data['statement_info'] as $key => $value) {
|
|
|
|
foreach ($data['statement_info'] as $key => $value) {
|
|
|
|
$objPHPExcel->getActiveSheet()->insertNewRowBefore($line,1)->mergeCells("J$line:K$line");
|
|
|
|
$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'] == 1) {//罚款
|
|
|
|
if ($value['statement_type'] > 0) {//罚款
|
|
|
|
$product_name = $value['type_name'];
|
|
|
|
$product_name = $value['type_name'];
|
|
|
|
$objPHPExcel->getActiveSheet()->setCellValue('F'.$line , '-');
|
|
|
|
$objPHPExcel->getActiveSheet()->setCellValue('F'.$line , '-');
|
|
|
|
$objPHPExcel->getActiveSheet()->setCellValue('G'.$line, '-');
|
|
|
|
$objPHPExcel->getActiveSheet()->setCellValue('G'.$line, '-');
|
|
|
@ -1950,7 +1950,7 @@ function excelDownStreamTemplate($data, $all_sum_money, $all_pay_amount, $big_al
|
|
|
|
$objPHPExcel->getActiveSheet()->removeConditionalStyles();
|
|
|
|
$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'] == 1) {//罚款
|
|
|
|
if ($value['statement_type']>0) {//罚款
|
|
|
|
$product_name = $value['type_name'];
|
|
|
|
$product_name = $value['type_name'];
|
|
|
|
$objPHPExcel->getActiveSheet()->setCellValue('D'.$line, '-');
|
|
|
|
$objPHPExcel->getActiveSheet()->setCellValue('D'.$line, '-');
|
|
|
|
$objPHPExcel->getActiveSheet()->setCellValue('E'.$line, '-');
|
|
|
|
$objPHPExcel->getActiveSheet()->setCellValue('E'.$line, '-');
|
|
|
|