更新
This commit is contained in:
parent
ef381a53c8
commit
42fb50210c
@ -120,7 +120,11 @@ class CompanyController extends BaseAdminController
|
||||
public function initiate_contract()
|
||||
{
|
||||
$params = $this->request->param();
|
||||
$params['party_a'] = $this->adminInfo['company_id'];
|
||||
if(isset($params['party_a']) && $params['party_a']>0){
|
||||
$params['party_a'] = $params['party_a'];
|
||||
}else{
|
||||
$params['party_a'] = $this->adminInfo['company_id'];
|
||||
}
|
||||
$params['type'] = 1;
|
||||
$params['party_b']=$params['id'];
|
||||
unset($params['id']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user