@extends('layouts.app') @section('title', __( 'Catalogue Sales')) @section('content')

@lang( 'sale.sells')

@component('components.filters', ['title' => __('report.filters')]) @if(empty($only) || in_array('sell_list_filter_date_range', $only))
{!! Form::label('sell_list_filter_date_range', __('report.date_range') . ':') !!} {!! Form::text('sell_list_filter_date_range', null, ['placeholder' => __('lang_v1.select_a_date_range'), 'class' => 'form-control', 'readonly']); !!}
@endif @endcomponent @php $businessId = request()->session()->get('user.business_id'); $business = App\Business::find($businessId); @endphp @component('components.widget', ['class' => 'box-primary', 'title' => __( 'All Catalogue Sales')]) @can('direct_sell.access') @slot('tool')
{{ number_format($unpaidTotal, $business->currency_precision) }}
@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('Request 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.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.shipping_details') @lang('restaurant.table') @lang('restaurant.service_staff')
@endif @endcomponent
@stop @section('javascript') @endsection