汇总导出bug修正

master
zhengyongxing 4 years ago
parent 1f31244d10
commit 053e8acb8f

@ -649,13 +649,13 @@ class AggregateFinanceStatementController extends ThinkController
$company_type = 0;
$company_info = [];
if ($relation['first_company_type'] == 3) {
if ($relation['collection'] == 1) {
$company_info = json_decode($relation['first_company_info'],true);
} elseif($relation['second_company_type'] == 3) {
} elseif($relation['collection'] == 2) {
$company_info = json_decode($relation['second_company_info'],true);
}
if ($company_info['invoice_type']&&$company_info['invoice_type']!='0') {
if ($company_info['invoice_type']) {
$company_type = 1;
} else {
$company_type = 2;

Loading…
Cancel
Save