
<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" aria-expanded="true">
            <div class="ibox-content">
                <form action="{{ route('assets-created-graph-data') }}" method="post" id="search-form">
                    {{csrf_field()}}
                    <div class="row">

                        <div class="col-md-3">
                            <div class="form-group">
                                <label class="control-label">Asset Type </label>
                                <select class="chosen-select"  multiple="" id="selected_asset_type"  name="asset_types[]" data-placeholder="Select">
                                    @foreach(\App\Models\AssetType::valid()->orderBy('name', 'ASC')->get(); as $assetType)
                                        <option value="{{$assetType->id}}">{{$assetType->name}}</option>
                                    @endforeach
                                </select>
                            </div>
                        </div>

                        <div class="col-md-3">
                            <div class="form-group">
                                <label>Asset Created At 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="date_from" class="form-control readonly-white" data-mask="99/99/9999" id="date_from" value="{{$dateFrom}}" placeholder="From" autocomplete="off" readonly="readonly">
                                    </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" name="date_to" class="form-control readonly-white" data-mask="99/99/9999" id="date_to" value="{{$dateTo}}" placeholder="To" autocomplete="off"  readonly="readonly">
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>