Обновлен вывод сведений о жк в таблице
This commit is contained in:
parent
8bba9a2bee
commit
fb6a805022
@ -18,13 +18,13 @@ class="d-none d-flex position-absolute w-100 h-100 top-0 start-0 align-items-cen
|
||||
$agentsNames = [];
|
||||
$filterRow = [];
|
||||
$clientDeals = $client->deals();
|
||||
if (array_key_exists('status', $this->filter)) {
|
||||
$clientDeals->where('status', $this->filter['status']);
|
||||
if (array_key_exists('status', $filter)) {
|
||||
$clientDeals->where('status', $filter['status']);
|
||||
}
|
||||
|
||||
if (array_key_exists('complexes', $this->filter)) {
|
||||
if (array_key_exists('complexes', $filter)) {
|
||||
$complexes = [];
|
||||
foreach ($this->filter['complexes'] as $selectedComplex) {
|
||||
foreach ($filter['complexes'] as $selectedComplex) {
|
||||
$complexes[] = $selectedComplex['id'];
|
||||
}
|
||||
$clientDeals->whereIn('complex_id', $complexes);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user