fix! некорректная отправка id квартиры plan7
This commit is contained in:
parent
f8dc49b1ae
commit
feb10c450b
@ -233,7 +233,7 @@ private function createDeal($complexId, $room)
|
|||||||
!$deal = Deal::create([
|
!$deal = Deal::create([
|
||||||
'agent_id' => $this->agentId,
|
'agent_id' => $this->agentId,
|
||||||
'complex_id' => $complexId,
|
'complex_id' => $complexId,
|
||||||
'plan7_data' => ($this->plan7Room) ? json_encode($room) : null
|
'plan7_data' => ($room) ? json_encode($room) : null
|
||||||
])
|
])
|
||||||
) {
|
) {
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user