 <div class="row">
    {{ Form::open(['method' => 'get']) }}
    <div class="col-md-4">
        <div class="form-group">
        <?php
        $value = Request::get('invoice_id') ? Request::get('invoice_id') : null;

         ?>
        {{ Form::label('invoice_id', trans('invoices.id')) }}
        {{ Form::text('invoice_id', $value, [
          'class' => 'form-control',
          'placeholder' =>  trans('invoices.id')
        ]) }}
        </div>
        <div class="form-group">
        <?php
        $value = Request::get('name') ? Request::get('name') : null;

         ?>
        {{ Form::label('name', trans('customers.menu')) }}
        {{ Form::text('name', $value, [
          'class' => 'form-control',
          'placeholder' =>  trans('customers.menu')
        ]) }}
        </div>
    </div>
    <div class="col-md-4">
        <div class="form-group">
        {{ Form::label('start_date', trans('invoices.start_date')) }}
          <div class="input-group date" data-provide="datepicker">
            <?php
            $value = Request::get('start_date') ? Request::get('start_date') : null;

             ?>
             
            {{ Form::text('start_date', $value, [
              'class' => "form-control",
              'placeholder' => Trans('invoices.start_date'),
              'autocomplete' => "off"
            ]) }}
            <div class="input-group-addon">
                <i class="fa fa-calendar"></i>
            </div>
          </div>
        </div>
        <div class="form-group">
        {{ Form::label('end_date', trans('invoices.end_date')) }}
          <div class="input-group date" data-provide="datepicker">
            <?php
            $value = Request::get('end_date') ? Request::get('end_date') : null;

             ?>

            {{ Form::text('end_date', $value, [
              'class' => "form-control",
              'placeholder' => Trans('invoices.end_date'),
              'autocomplete' => "off"
            ]) }}
            <div class="input-group-addon">
                <i class="fa fa-calendar"></i>
            </div>
          </div>
        </div>
    </div>
    <div class="col-md-4">
        <div class="form-group">
            <label for="">{{ trans("reports.show") }}</label>
            <?php
            $selected = Input::get('paginate') ? Input::get('paginate') : 10;
            ?>
            {{ Form::select("paginate", [
                'all'   =>  "All",
                10      =>  10,
                15      =>  15,
                20      =>  20,
                25      =>  25,
                30      =>  30,
                50      =>  50,
                100     => 100
            ], $selected, [
                'class' => 'form-control select2',
              ]) }}
        </div>
        <div class="form-group">
        <?php $selelcted = !empty(Input::get("status")) ? Input::get("status") : null; ?>
          <label for="status">{{ trans("installments.loan_status") }}</label>
          {{ Form::select("status", [
            'all'       =>  "All",
            'pendding'  =>  trans("installments.status.pendding"),
            'proccessing'     =>  trans("installments.status.proccessing"),
            'completed'      => trans("installments.status.completed")
          ], $selelcted, [
            'class' => "form-control select2"
          ])}}
        </div>    
        <button type="submit" class="btn btn-info pull-right" name="search" value="true"><i class="fa fa-search"></i> {{ Trans('invoices.search') }}</button>
    </div>
    {{ Form::close() }}
</div>