bitrixable updated
This commit is contained in:
parent
a3280091c5
commit
068c8f0fbc
@ -53,9 +53,9 @@ public function confirm(Deal $deal, Request $request)
|
||||
$deal->notify(new DealNotUnique());
|
||||
}
|
||||
|
||||
if (!$agent->bitrixId)
|
||||
if (!$agent->bitrixId())
|
||||
{
|
||||
$agent->bitrixId()->create(['bx_id' => $request->agent_id]);
|
||||
$agent->setBitrixId($request->agent_id);
|
||||
}
|
||||
|
||||
Log::build([
|
||||
|
||||
Loading…
Reference in New Issue
Block a user