добавил передачу agency_id в битрикс при создании контакта
This commit is contained in:
parent
71ae479002
commit
c823ce14d2
@ -14,5 +14,6 @@ public function __construct(Agent $agent)
|
|||||||
{
|
{
|
||||||
$this->addDataItem('name', $agent->user->name);
|
$this->addDataItem('name', $agent->user->name);
|
||||||
$this->addDataItem('phones', [$agent->user->phone]);
|
$this->addDataItem('phones', [$agent->user->phone]);
|
||||||
|
$this->addDataItem('agency_id', [$agent->company->bitrixId()]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -16,7 +16,7 @@
|
|||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
<div>
|
<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()">
|
onclick="plan7SelectorModal = new bootstrap.Modal(document.getElementById('plan7_selector_modal'), {});plan7SelectorModal.show()">
|
||||||
@if($room)
|
@if($room)
|
||||||
Изменить
|
Изменить
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user