@component('components.filters', ['title' => __('report.filters')])
{!! Form::label('assigned_to', __('lang.sales_person') . ':') !!}
{!! Form::select('assigned_to', getSalesPersons()??[], null, ['class' => 'form-control select2', 'id' => 'assigned_to', 'placeholder' => __('lang.all'), 'style' => 'width:100%']) !!}
{!! Form::label('date_range', __('report.date_range') . ':') !!}
{!! Form::text('date_range', null, ['placeholder' => __('lang_v1.select_a_date_range'), 'class' => 'form-control', 'readonly']); !!}
@includeIf('locations::layouts.location_filter')
{!! Form::select(
'has_no_sell_from',
[
'one_month' => __('lang_v1.one_month'),
'three_months' => __('lang_v1.three_months'),
'six_months' => __('lang_v1.six_months'),
'one_year' => __('lang_v1.one_year'),
],
null,
['class' => 'form-control', 'id' => 'has_no_sell_from', 'placeholder' => __('messages.please_select')],
) !!}
@endcomponent
@component('components.widget', [
'class' => 'box-primary',
'title' => __('lang.customers', ['contacts' => __('lang.customers')]),
])
@if (auth()->user()->can('customer.view') || auth()->user()->can('customer.view_own'))
@endif
@endcomponent
@stop
@section('javascript')
@endsection