Merge branch 'feature/add_item' of wmtx/platform into release

汇总bug修正
master
郑永星 4 years ago committed by Gogs
commit 0fd8c71af0

@ -697,9 +697,9 @@ class AggregateRelationController extends AdminController
//己方公司
$companyInfo = M("CompanyInfo","tab_")->field("id,partner company_name,partner,link_man,link_phone,address,company_tax_no,payee_name,bank_account,opening_bank,invoice_item,invoice_type,register_phone,register_address")->where("status='1' AND id='{$id}'")->find();
if (strstr($companyInfo['invoice_type'],'专')) {
$companyInfo['invoice_type'] = "专票";
$companyInfo['invoice_type'] = "1";
} else if (strstr($companyInfo['invoice_type'],'普')) {
$companyInfo['invoice_type'] = "普票";
$companyInfo['invoice_type'] = "2";
}
}
if($type == 1){

Loading…
Cancel
Save