@foreach (config('enums.house_type') as $key => $house_type)
house_type == $key ? 'checked' : ''}} name="properties[house_type]"> {{ $house_type }}
@endforeach
{{-- --}}
@foreach (config('enums.building_age') as $key => $building_age)
building_age == $key ? 'checked' : ''}} name="properties[building_age]"> {{ $building_age }}
@endforeach
@foreach (config('enums.heating_type') as $key => $heating_type)
heating_type == $key ? 'checked' : ''}} name="properties[heating_type]"> {{ $heating_type }}
@endforeach
@foreach (config('enums.using_status') as $key => $using_status)
using_status == $key ? 'checked' : ''}} name="properties[using_status]"> {{ $using_status }}
@endforeach
@foreach (config('enums.room_count') as $key => $room_count)
room_count == $key ? 'checked' : ''}} name="properties[room_count]"> {{ $room_count }}
@endforeach
@foreach (config('enums.floor') as $key => $floor)
floor == $key ? 'checked' : ''}} name="properties[floor]"> {{ $floor }}
@endforeach
@foreach (config('enums.total_floor') as $key => $total_floor)
total_floor == $key ? 'checked' : ''}} name="properties[total_floor]"> {{ $total_floor }}
@endforeach
@foreach (config('enums.bath_count') as $key => $bath_count)
bath_count == $key ? 'checked' : ''}} name="properties[bath_count]"> {{ $bath_count }}
@endforeach
{{-- {{ dd(unserialize($property->side)) }} --}}
@foreach (config('enums.side') as $key => $side)
side) @foreach (unserialize($property->side) as $item) @if ($item == $key) checked @endif @endforeach @endisset name="properties[side][]"> {{ $side }}
@endforeach
@foreach (config('enums.inside_properties') as $key => $inside_properties)
inside_properties) @foreach (unserialize($property->inside_properties) as $item) @if ($item == $key) checked @endif @endforeach @endisset name="properties[inside_properties][]"> {{ $inside_properties }}
@endforeach
@foreach (config('enums.outside_properties') as $key => $outside_properties)
outside_properties) @foreach (unserialize($property->outside_properties) as $item) @if ($item == $key) checked @endif @endforeach @endisset name="properties[outside_properties][]"> {{ $outside_properties }}
@endforeach