<div class="form-group">
    <label for="address" class="col-sm-2 control-label" id="inventory_type">Select Project <span
        style="color: red">*</span></label>
    <div class="col-sm-4">
        <div class="input-group">
            <div class="input-group-addon"><i class="fa fa-circle-o"></i></div>
            <select id="multipro" class="form-control chosen-select" name="multipro_id">
                <option value=""><b>None</b></option>
                @foreach ($multi_projects as $pro)
                @php
               $p_id= encrypt($pro->id); 
                @endphp
                    @if (old('multipro_id') == $p_id)
                        <option selected="" value="{{  $p_id }}">{{ $pro->name }}
                        </option>
                    @else
                        <option value="{{  $p_id}}">{{ $pro->name }} </option>
                    @endif
                @endforeach

            </select>
            @if ($errors->has('multipro_id'))
                <span class="help-block">
                    <strong>{{ $errors->first('multipro_id') }}</strong>
                </span>
            @endif
        </div>
    </div>
</div>