<select class="form-control" name="vin_number" id="vin_number">
                                    <option value="">Select VIN Number</option>
                                    @if(isset($query) && $query->isNotEmpty())
                                        @foreach($query as $row)
                                            <option value="{{ $row->id }}"> {{ $row->vin_number }} </option>
                                        @endforeach
                                    @endif
                                </select>