|
|
|
@ -2088,9 +2088,9 @@ function excelSpecialComplementEmplate($data, $all_sum_money, $all_pay_amount, $
|
|
|
|
|
// $objPHPExcel->getActiveSheet()->setCellValue('F'.$line, $value['sum_money']);
|
|
|
|
|
|
|
|
|
|
if ($data['withdraw_type'] != 3) {
|
|
|
|
|
$objPHPExcel->getActiveSheet()->setCellValue('F'.$line,"=C{$line}*D{$line}*(1-E{$line})");
|
|
|
|
|
$objPHPExcel->getActiveSheet()->setCellValue('F'.$line,"=ROUND(C{$line}*D{$line}*(1-E{$line}),2)");
|
|
|
|
|
} else {
|
|
|
|
|
$objPHPExcel->getActiveSheet()->setCellValue('F'.$line,"=C{$line}*E{$line}");
|
|
|
|
|
$objPHPExcel->getActiveSheet()->setCellValue('F'.$line,"=ROUND(C{$line}*E{$line}),2)");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
$objPHPExcel->getActiveSheet()->setCellValue('B'.$line, $product_name);
|
|
|
|
|