Filter
@can('filterByDepartments')
@foreach ($departments as $department) {{$department->name}} @endforeach
@endcan
{{-- @if(request()->routeIs('conversion.filter.department', $department->id)) @can('filterByAgents')
has('excludeAgents') && request('excludeAgents') == 1) checked @endif>
@endcan @else --}} @can('filterByAgents')
has('excludeAgents') && request('excludeAgents') == 1) checked @endif>
@endcan {{-- @endif --}}
has('excludeStatuses') && request('excludeStatuses') == 1) checked @endif>
has('excludeCountries') && request('excludeCountries') == 1) checked @endif>
has('excludeAffiliates') && request('excludeAffiliates') == 1) checked @endif>
has('excludeSources') && request('excludeSources') == 1) checked @endif>
has('date_from')) value="{{request('date_from')}}" @endif type="text" name="date_from" class="form-control dateTimePicker" placeholder="Date From" id="date_from" />
has('date_to')) value="{{request('date_to')}}" @endif type="text" name="date_to" class="form-control dateTimePicker" placeholder="Date To" id="date_to" />
has('query')) value="{{request('query')}}" @endif type="text" class="form-control" id="query" name="query" placeholder="First Name, Last Name, Email, Phone" />