<select name="location_type_id" id="room-type" class="form-control select2">
	<option value="">--Select--</option>
@foreach(\App\Models\LocationType::orderBy('location_type_name','ASC')->get() as $type)
	<option value="{{$type->id}}" {{isset($selected_id) ? ($selected_id == $type->id ? 'selected' : '') : (old('location_type_id') == $type->id ? 'selected' : '')}}>{{$type->location_type_name}}</option>
@endforeach
</select>
