@extends('layouts.app') @section('title', __('lang_v1.all_sales')) @section('content')

@lang('sale.sells')

@component('components.filters', ['title' => __('report.filters')]) @include('sell.partials.sell_list_filters') @if ($payment_types)
{!! 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 (!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 @component('components.widget', ['class' => 'box-primary', 'title' => __('lang_v1.all_sales')]) @can('direct_sell.access') @slot('tool')
@lang('messages.add')
@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
@lang('messages.action') @lang('messages.date') @lang('sale.invoice_no') @lang('sale.customer_name') @lang('lang_v1.contact_no') @lang('sale.location') @lang('sale.payment_status') @lang('lang_v1.payment_method') @lang('sale.total_amount') @lang('sale.total_paid') @lang('lang_v1.sell_due') @lang('lang_v1.sell_return_due') @lang('lang_v1.shipping_status') @lang('lang_v1.total_items') @lang('lang_v1.types_of_service') {{ $custom_labels['types_of_service']['custom_field_1'] ?? __('lang_v1.service_custom_field_1') }} {{ $custom_labels['sell']['custom_field_1'] ?? '' }} {{ $custom_labels['sell']['custom_field_2'] ?? '' }} {{ $custom_labels['sell']['custom_field_3'] ?? '' }} {{ $custom_labels['sell']['custom_field_4'] ?? '' }} @lang('lang_v1.added_by') @lang('sale.sell_note') @lang('sale.staff_note') @lang('sale.shipping_details') @lang('restaurant.table') @lang('restaurant.service_staff')
@endif @endcomponent
@stop @section('javascript') @endsection