@component('components.filters', ['title' => __('report.filters')])
@include('sell.partials.sell_list_filters')
@if ($payment_types ?? null)
{!! Form::label('payment_method', __('lang_v1.payment_method') . ':') !!}
{!! Form::select('payment_method', $payment_types, null, [
'class' => 'form-control select2',
'style' => 'width:100%',
'placeholder' => __('lang_v1.all'),
]) !!}
@endif
@if ($drivers ?? null && in_array('drivers', $enabled_modules))
{!! Form::label('driver_id', __('lang_v1.drivers') . ':') !!}
{!! Form::select('driver_id', $drivers, null, [
'class' => 'form-control select2',
'style' => 'width:100%',
'placeholder' => __('lang_v1.all'),
]) !!}
@endif
@if (!empty($sources))
{!! Form::label('sell_list_filter_source', __('lang_v1.sources') . ':') !!}
{!! Form::select('sell_list_filter_source', $sources, null, [
'class' => 'form-control select2',
'style' => 'width:100%',
'placeholder' => __('lang_v1.all'),
]) !!}
@endif
@endcomponent
@can('direct_sell.access')
@if (!empty($shipping_statuses))
{!! Form::label('current_status', __('lang_v1.current_status') . ':') !!}
{!! Form::select('current_status', $shipping_statuses, null, [
'class' => 'form-control select2',
'style' => 'width:100%',
'placeholder' => __('lang_v1.select_status'),
]) !!}
{!! Form::label('new_status', __('lang_v1.new_status') . ':') !!}
{!! Form::select('new_status', $shipping_statuses, null, [
'class' => 'form-control select2',
'style' => 'width:100%',
'placeholder' => __('lang_v1.select_status'),
]) !!}
@endif
@endcan
@component('components.widget', ['class' => 'box-primary', 'title' => __('lang_v1.all_sales')])
@can('direct_sell.access')
@slot('tool')
@endslot
@endcan
@if (auth()->user()->can('direct_sell.view') ||
auth()->user()->can('view_own_sell_only') ||
auth()->user()->can('view_commission_agent_sell'))
@php
$custom_labels = json_decode(session('business.custom_labels'), true);
@endphp
@if (in_array('drivers', $enabled_modules))
@can('sell.assign_to_drivers')
@endcan
@endif
{{-- @if (config('constants.assign_to_contacts'))
@can('sell.assign_to_contacts')
@endcan
@endif --}}
@endif
@endcomponent
@include('video.video_modal')
@stop
@section('javascript')
@if ($is_installment_enabled)
@endif
@endsection