Comm Dashboard
{{ Form::open(['method' => 'get', 'id' => 'idThisForm']) }}
{{ Form::select('type', ['' =>'Select Type']+AppHelper::options('comm_report_types_new'), request()->type, ['required' => true]) }}
{!! Form::select('date_type', ['' => 'Date Created At']+AppHelper::options('DateRange'), request()->date_type, ['class' => 'form-control1 mr-2', 'onchange'=>'updateDatesRange(this)']) !!}
{!! Form::date('from_date', request()->from_date) !!}
{!! Form::date('to_date', request()->to_date) !!}
{!! Form::select('zone', ['' =>'Select zone']+AppHelper::options('zones'), $zone, ['id' => 'zone', 'required' => true]) !!}
{!! Form::select('state', ['' =>'Select state'], $state, ['id' => 'state', 'style' => 'min-width: 100px' ]) !!}
{!! \App\Helpers\EasyForm::dependentScript('state', old('state', $state), AppHelper::options('zones_states'), 'zone') !!}
{!! Form::text('name', request()->name, ['placeholder' => 'Employee Name', 'style' => 'width: 120px']) !!}
{!! Form::select('designation', ['' => 'Designation']+AppHelper::options('comm_ch_designations'), request()->designation, ['class' => empty(request()->designation) ? 'blank' : '','style' => 'width: 120px']) !!}
{{ Form::submit('Get', ['class' => 'btn btn-theme btn-sm mx-2']) }}
{{ Form::button('Reset', ['class' => 'btn btn-outline-info btn-sm', 'onclick' => 'clearForm(document.getElementById("idThisForm"))']) }}
{{ Form::close() }}