|
|
|
@ -64,8 +64,9 @@ class StatementController extends ThinkController
|
|
|
|
|
$mycompany = M("tool","tab_")->field("config")->where("name='company_info'")->find();
|
|
|
|
|
$info = json_decode($mycompany['config'],true);
|
|
|
|
|
$info['id'] = 0;
|
|
|
|
|
unset($info['status']);
|
|
|
|
|
}else{
|
|
|
|
|
$info = M("partner","tab_")->where("id = '{$CompanyId}'")->find();
|
|
|
|
|
$info = M("partner","tab_")->field("id,partner,link_man,link_phone,address,company_tax_no,payee_name,bank_account,opening_bank")->where("id = '{$CompanyId}'")->find();
|
|
|
|
|
}
|
|
|
|
|
if(empty($info)){
|
|
|
|
|
$this->ajaxReturn(array("error"=>"no find","code"=>2000));
|
|
|
|
|