<div class="row">
{{ Form::open(['method' => 'get', 'route' => "productsWarehouse"]) }}

  <div class="col-md-3">
    @include('reports.forms.date')
  </div>
  <div class="col-md-3">
    @include('reports.forms.barcode')
  </div>
  <div class="col-md-3">
    <div class="form-group">
      <label for="">{{ trans('sale_history.category')}}</label>
      <?php
        $selected = Input::get('category') ? Input::get('category') : 'all';
       ?>
      {{ Form::select('category[]', $categories, $selected, [
          'class' => 'form-control margin select2',
          'multiple' => true
        ]) }}
    </div>
  </div>
  <div class="col-md-2">
    <div class="form-group">
      <br>
        <a class="btn btn-default btn-block" href="{{ printProductsInWarehouse(). "&print=true" }}" target="_blank"><i class="fa fa-print">{{trans('reports.print')}}</i></a>
        <a href="{{ downloadPsExcel() . "&download=true" }}" class="btn btn-success btn-block"><i class="fa fa-file-excel-o"></i> Excel File</a>
      <button type="submit" class="btn btn-info btn-block"><i class="fa fa-search"></i> {{ Trans('invoices.search') }}</button>
    </div>
  </div>
{{ Form::close() }}
</div>
