@extends('layouts.filter') @section ('filter-title') Filter @endsection @section ('filters')
{!! Form::label('created_at', 'Created On') !!}
{!! Form::date('date[created_at][]', (Request::input('date.created_at')) ? Request::input('date.created_at')[0] : '', ['class' => 'form-control d-inline']) !!}
{!! Form::date('date[created_at][]', (Request::input('date.created_at')) ? Request::input('date.created_at')[1] : '', ['class' => 'form-control d-inline']) !!}
{!! Form::label('department', 'Department') !!} {!! Form::select('select[department]', ['' => ''] + AppHelper::options('departments'), Request::input('select.department'), ['class' => 'form-control']) !!}
@endsection