селектор помещений из апи
This commit is contained in:
parent
0f6dffb596
commit
2568f663d4
@ -65,7 +65,7 @@ class="img-fluid rounded-start" alt="...">
|
||||
</div>
|
||||
@endif
|
||||
@if(!$room)
|
||||
<div class="d-flex gap-2">
|
||||
<div class="hstack gap-2">
|
||||
<div class="col-4 p-2 rounded-4 mb-3 bg-light border d-flex gap-2">
|
||||
<div class="flex-fill">
|
||||
<label>Дом/строение:</label>
|
||||
@ -98,27 +98,27 @@ class="img-fluid rounded-start" alt="...">
|
||||
@if(array_key_exists('type', $filter))
|
||||
@foreach($summary as $typeSummary)
|
||||
@if(array_key_exists('type', $typeSummary) && $typeSummary['type'] == $filter['type'])
|
||||
<div class="col-4 p-2 rounded-4 mb-3 bg-light border">
|
||||
<div class="p-2 rounded-4 mb-3 bg-light border">
|
||||
<label>Площадь:</label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text">от</span>
|
||||
<input wire:loading.attr="disabled" type="number" wire:model.live="filter.min_area"
|
||||
class="form-control w-25" placeholder="{{ $typeSummary['min_area'] }}">
|
||||
class="form-control" placeholder="{{ $typeSummary['min_area'] }}">
|
||||
<span class="input-group-text">до</span>
|
||||
<input wire:loading.attr="disabled" type="number" wire:model.live="filter.max_area"
|
||||
class="form-control w-25" placeholder="{{ $typeSummary['max_area'] }}">
|
||||
class="form-control" placeholder="{{ $typeSummary['max_area'] }}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-4 p-2 rounded-4 mb-3 bg-light border">
|
||||
<div class="p-2 rounded-4 mb-3 bg-light border">
|
||||
<label>Стоимость:</label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text">от</span>
|
||||
<input wire:loading.attr="disabled" wire:model.live="filter.min_price" type="number"
|
||||
class="form-control w-25"
|
||||
class="form-control"
|
||||
placeholder="{{ number_format($typeSummary['min_price'], 0, '', ' ') . ' р.' }}">
|
||||
<span class="input-group-text">до</span>
|
||||
<input wire:loading.attr="disabled" wire:model.live="filter.max_price" type="number"
|
||||
class="form-control w-25"
|
||||
class="form-control"
|
||||
placeholder="{{ number_format($typeSummary['max_price'], 0, '', ' ') . ' р.' }}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user