<form method="post" id="filter-form" action="">
    {{ csrf_field() }}
    <div class="row">
        <div class="col-md-3">
            <div class="form-group">
                <label class="control-label">From </label>
                <div class="form-group" id="data_1">
                    <div class="input-group date">
                        <span class="input-group-addon"><i class="icon icon-calendar-2"></i></span><input type="text" name="date_from" id="date_from" class="form-control readonly-date" readonly placeholder="From">
                    </div>
                </div>                                        
            </div>
        </div>

        <div class="col-md-3">
            <div class="form-group">
                <label class="control-label">To </label>
                <div class="form-group" id="data_1">
                    <div class="input-group date">
                        <span class="input-group-addon"><i class="icon icon-calendar-2"></i></span><input type="text" name="date_to" id="date_to" class="form-control readonly-date" readonly placeholder="To">
                    </div>
                </div>                                        
            </div>
        </div>

        <div class="col-md-3">
            <div class="form-group">
                <label class="control-label">From Status</label>
                <select class="chosen-select" multiple id="from_status" name="from_status" data-placeholder="Select">
                        @foreach(\App\Models\AssetStatus::orderBy('slug')->get() as $status)
                        <option value="{{ $status->id }}">{{ $status->name }}</option>
                        @endforeach
                </select>
            </div>	
        </div>

        <div class="col-md-3">
            <div class="form-group">
                <label class="control-label">To Status</label>
                <select class="chosen-select" multiple id="to_status" name="to_status" data-placeholder="Select">
                        @foreach(\App\Models\AssetStatus::orderBy('slug')->get() as $status)
                        <option value="{{ $status->id }}">{{ $status->name }}</option>
                        @endforeach
                </select>
            </div>	
        </div>
    </div>
    <div class="row">

        <div class="col-md-3">
            <div class="form-group">
                <label class="control-label"> User </label>
                <div class="form-group">
                    <select name="user" id="user" multiple="multiple" class="filter-field-user form-control" data-placeholder="Select" required>
                    <option value=""></option>
                    </select>
                </div>      
            </div>
        </div> 

        <div class="col-md-3">
            <div class="form-group">
                <label class="control-label"> Location </label>
                <div class="form-group">
                    <select name="location" id="location" multiple class="filter-field-location form-control" key="room_name" data-placeholder="Select">
                    
                    </select>
                </div>      
            </div>
        </div> 

        <div class="col-md-3">
            <div class="form-group">
                <label class="control-label"> Ticket # </label>
                <div class="form-group">
                    <select name="ticket" id="ticket" multiple="multiple" class="filter-field form-control" data-placeholder="Select" key="ticket_no">
                    <option value=""></option>
                    </select>
                </div>      
            </div>
        </div> 
    </div>
</form> 