добавил передачу agency_id в битрикс при создании контакта

This commit is contained in:
developer 2026-04-13 10:41:06 +08:00
parent 71ae479002
commit c823ce14d2
2 changed files with 2 additions and 1 deletions

View File

@ -14,5 +14,6 @@ public function __construct(Agent $agent)
{
$this->addDataItem('name', $agent->user->name);
$this->addDataItem('phones', [$agent->user->phone]);
$this->addDataItem('agency_id', [$agent->company->bitrixId()]);
}
}

View File

@ -16,7 +16,7 @@
</div>
@endif
<div>
<button type="button" wire:click="start()" wire:loading.class="opacity-50" wire:target="load" class="btn btn-primary"
<button type="button" class="btn btn-primary" wire:click="start()" wire:loading.class="opacity-50" wire:target="load" class="btn btn-primary"
onclick="plan7SelectorModal = new bootstrap.Modal(document.getElementById('plan7_selector_modal'), {});plan7SelectorModal.show()">
@if($room)
Изменить