<div class="ibox">
<div class="ibox-title">
    <div class="ibox-tools">
        <h5>Filters</h5>
        <a data-toggle="collapse" href="#collapseFilter" class="collapse-link"> <i class="icon icon-e-delete"></i></a>
    </div>
</div>
<div class="collapse in" id="collapseFilter">
    <div class="ibox-content">
        <form method="post" id="search-form" action="">
            {{ csrf_field() }}
            <div class="row">
                
                
                <div class="col-md-3">
                    <div class="form-group">
                        <label class="control-label">Pickup ID </label>
                        <select class="report-filters chosen-select" id="pickup_id" multiple name="pickup_id" data-placeholder="Select">
                            @foreach(\App\Models\RevivnPickup::groupBy('pickup_id')->get() as $pickup)
                            <option value="{{$pickup->pickup_id}}" >{{$pickup->pickup_id}}</option>
                            @endforeach                             
                        </select>
                    </div>  
                </div>
                
                <div class="col-md-3">
                    <div class="form-group">
                        <label class="control-label">State </label>
                        <select class="report-filters chosen-select" id="state" multiple name="state" data-placeholder="Select">
                            @foreach(\App\Models\RevivnPickup::groupBy('state')->get() as $pickup)
                            <option value="{{$pickup->state}}" >{{$pickup->state}}</option>
                            @endforeach                             
                        </select>
                    </div>  
                </div>
                
                <div class="col-md-3">
                    <div class="form-group">
                        <label class="control-label">Order # </label>
                        <select class="report-filters chosen-select" id="order_number" multiple name="order_number" data-placeholder="Select">
                            @foreach(\App\Models\RevivnPickup::groupBy('order_number')->get() as $pickup)
                            <option value="{{$pickup->order_number}}" >{{$pickup->order_number}}</option>
                            @endforeach                             
                        </select>
                    </div>  
                </div>
                
                <div class="col-md-6 divHeight">
                    <div class="col-md-6 divHeight" style="padding-left:0px">
                        <div class="form-group">
                            <label class="control-label">Scheduled Date Range</label>
                            <div class="form-group">
                                <div class="input-group date">
                                    <span class="input-group-addon"><i class="icon icon-calendar-2"></i></span>
                                    <input type="text" name="scheduled_date_from" class="form-control" data-mask="99/99/9999" id="scheduled_date_from" placeholder="From" autocomplete="off" readonly="readonly" value="">
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <div class="col-md-6 divHeight">
                        <div class="form-group">
                            <label class="control-label">&nbsp;</label>
                            <div class="form-group">
                                <div class="input-group date">
                                    <span class="input-group-addon"><i class="icon icon-calendar-2"></i></span>
                                    <input type="text" class="form-control" data-mask="99/99/9999" placeholder="To" name="scheduled_date_to" id="scheduled_date_to" autocomplete="off"  readonly="readonly" value="">
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                
            </div>
            
        </form>
    </div>
</div>
</div>

