<div class="col-lg-12">
    <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="filter-form" action="">
                    {{ csrf_field() }}
                    <input type="hidden" name="device_type" value="" id="device_type">
                    <div class="row">

                        <div class="col-md-3 divHeight">
                            <div class="form-group">
                                <label class="control-label">Serial # </label>
                                <select class="form-control report-filter filter-field" multiple name="serial_no" id="serial_no" key="serial_no" data-placeholder="Select">
                                    </select>
                                </div>
                            </div>

                            <div class="col-md-3 divHeight">
                                <div class="form-group">
                                    <label class="control-label">Serial # ({{config('os-compliance.apple_os.mdm')}})</label>
                                    <select class="form-control report-filter filter-field" multiple name="mdm_serial_no" id="mdm_serial_no" key="serial_no" filter-route="{{config('os-compliance.apple_os.filter-route')}}" data-placeholder="Select">
                                        </select>
                                    </div>
                                </div>

                            <div class="col-md-3 divHeight">
                                <div class="form-group">
                                    <label class="control-label">Asset Type </label>
                                    <select name="asset_type" id="asset_type" class="form-control report-filter searchable" multiple data-placeholder="Select">
                                        @foreach($assetTypes as $type)
                                            <option value="{{$type->id}}">{{$type->name}}</option>
                                        @endforeach
                                    </select>
                                </div>
                            </div>

                            <div class="col-md-3 divHeight">
                                <div class="form-group">
                                    <label class="control-label">Hardware Standard ({{config('os-compliance.apple_os.mdm')}})</label>
                                    <select class="form-control report-filter filter-field" multiple name="model" id="workspace_one_model" key="model" filter-route="{{config('os-compliance.apple_os.filter-route')}}" data-placeholder="Select">
                                    </select>
                                </div>
                            </div>

                    </div>
                    <div class="row">


                        <div class="col-md-3 divHeight">
                            <div class="form-group">
                                <label class="control-label">Hardware Standard (Teqtivity)</label>
                                <select class="form-control report-filter searchable" multiple name="make_and_model" id="make_and_model" key="hardware" data-placeholder="Select">
                                    @foreach($hardwareStds as $hardware)
                                        <option value="{{$hardware->id}}">{{$hardware->name}}</option>
                                    @endforeach
                                </select>
                            </div>
                        </div>

                        <div class="col-md-3 divHeight">
                            <div class="form-group">
                                <label class="control-label">Technical Specs</label>
                                <select name="technical_spec" id="technical_spec" class="form-control report-filter searchable" multiple data-placeholder="Select">
                                    @foreach($techSpecs as $spec)
                                        <option value="{{$spec->id}}">{{$spec->details}}</option>
                                    @endforeach
                                </select>
                            </div>
                        </div>

                        <div class="col-md-3 divHeight">
                            <div class="form-group">
                                <label class="control-label">Asset Status</label>
                                <select name="asset_status_id" id="asset_status_id" class="form-control report-filter searchable" multiple data-placeholder="Select">
                                    @foreach($assetStatus as $type)
                                        <option value="{{$type->id}}">{{$type->name}}</option>
                                    @endforeach
                                </select>
                            </div>
                        </div>

                        <div class="col-md-3 divHeight">
                            <div class="form-group">
                                <label class="control-label">User (Teqtivity)</label>
                                <select name="user_id" id="user_id" class="filter-field-user form-control report-filter" multiple key="userName" data-placeholder="Select"></select>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-3 divHeight">
                            <div class="form-group">
                                <label class="control-label">Location</label>
                                <select name="location" id="location" class="filter-field-location form-control report-filter" multiple key="room_name" data-placeholder="Select"></select>
                            </div>
                        </div>
                        <div class="col-md-3 divHeight">
                            <div class="form-group">
                                <label class="control-label">User ({{config('os-compliance.apple_os.mdm')}})</label>
                                <select name="user" id="workspace_one_user" class="filter-field form-control report-filter" multiple key="userName" filter-route="{{config('os-compliance.apple_os.filter-route')}}" data-placeholder="Select"></select>
                            </div>
                        </div>

                        <div class="col-md-3 divHeight">
                            <div class="form-group">
                                <label class="control-label">OS Platform ({{config('os-compliance.apple_os.mdm')}})</label>
                                <select name="os_platform" id="platform" key="platform" class="form-control searchable report-filter" multiple data-placeholder="Select">
                                    @foreach($platforms as $value)
                                        <option value="{{$value->platform}}">{{$value->platform}}</option>
                                    @endforeach
                                </select>
                            </div>
                        </div>

                        <div class="col-md-3 divHeight">
                            <div class="form-group">
                                <label class="control-label">OS Version ({{config('os-compliance.apple_os.mdm')}})</label>
                                <select name="os_version" id="os_version" key="os_version" class="form-control searchable report-filter" multiple data-placeholder="Select">
                                    @foreach($osVersions as $value)
                                        <option value="{{$value->os_version}}">{{$value->os_version}}</option>
                                    @endforeach
                                </select>
                            </div>
                        </div>

                    </div>
                    <div class="row">
                        <div class="col-md-3">
							<div class="form-group">
								<label>Last Check In 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="check_in_from" class="form-control" placeholder="From">
									</div>
								</div>

								<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" placeholder="To" name="check_in_to">
									</div>
								</div>
							</div>
						</div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>