bitrixable updated

This commit is contained in:
Thekindbull 2025-09-02 10:22:10 +08:00
parent a3280091c5
commit 068c8f0fbc

View File

@ -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([