<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="connection-filter-form">
				{{ csrf_field() }}
				<div class="row">

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

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

							</select>
						</div>
					</div>
					<div class="col-md-3 divHeight">
						<div class="form-group">
							<label class="control-label">Asset Tag #</label>
							<select class="filter-field form-control" multiple name="asset_tag" key="asset_tag"
								id='asset_tag' data-placeholder="Select">

							</select>
						</div>
					</div>

					<div class="col-sm-3 divHeight">
						<div class="form-group">
							<label class="control-label">Delivery Status</label>
							<select class="chosen-select filter-item" id="shipment_status" multiple
								name="shipment_status" data-placeholder="Select">
								@php $ship =
								\App\Models\AssetTracking::orderBy('shipment_status')->whereNotNull("shipment_status")->groupBy("shipment_status")->pluck('shipment_status')->toArray();
								@endphp
								@foreach($ship as $shipment_status)
								<option value="{{$shipment_status}}">{{$shipment_status}}</option>
								@endforeach
							</select>
						</div>
					</div>
				</div>

			</form>
		</div>
	</div>
</div>