|
|
@ -605,10 +605,13 @@ class AggregateFinanceStatementController extends ThinkController
|
|
|
|
|
|
|
|
|
|
|
|
$objPHPExcel->getActiveSheet()->setCellValue('B'.($line+7), $invoice_data);//乙方
|
|
|
|
$objPHPExcel->getActiveSheet()->setCellValue('B'.($line+7), $invoice_data);//乙方
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$first_data = "户名:{$data['pay_company']['payee_name']}";
|
|
|
|
$objPHPExcel->getActiveSheet()->setCellValue('E'.($line+8), $data['pay_company']['payee_name']);//户名
|
|
|
|
$first_data .= "\n账号:{$data['pay_company']['bank_account']}";
|
|
|
|
$objPHPExcel->getActiveSheet()->setCellValue('E'.($line+9), $data['pay_company']['bank_account']);//银行账号
|
|
|
|
$first_data .= "\n开户行:{$data['pay_company']['opening_bank']}";
|
|
|
|
$objPHPExcel->getActiveSheet()->setCellValue('E'.($line+10), $data['pay_company']['opening_bank']);//开户行
|
|
|
|
$objPHPExcel->getActiveSheet()->setCellValue('B'.($line+8), $first_data);//户名
|
|
|
|
|
|
|
|
// $objPHPExcel->getActiveSheet()->setCellValue('E'.($line+8), $data['pay_company']['payee_name']);//户名
|
|
|
|
|
|
|
|
// $objPHPExcel->getActiveSheet()->setCellValue('E'.($line+9), $data['pay_company']['bank_account']);//银行账号
|
|
|
|
|
|
|
|
// $objPHPExcel->getActiveSheet()->setCellValue('E'.($line+10), $data['pay_company']['opening_bank']);//开户行
|
|
|
|
if($data['withdraw_type'] == 1){
|
|
|
|
if($data['withdraw_type'] == 1){
|
|
|
|
$m = date('Y.m', $data['begintime']);
|
|
|
|
$m = date('Y.m', $data['begintime']);
|
|
|
|
$fileName = "{$data['second_party_info']['partner']}&{$data['first_party_info']['partner']}-对账单{$m}";
|
|
|
|
$fileName = "{$data['second_party_info']['partner']}&{$data['first_party_info']['partner']}-对账单{$m}";
|
|
|
|