@component('components.filters', ['title' => __('report.filters')])
{!! Form::label('sell_list_filter_location_id', __('purchase.business_location') . ':') !!}
{!! Form::select('sell_list_filter_location_id', $business_locations, null, ['class' => 'form-control select2', 'style' => 'width:100%', 'placeholder' => __('lang_v1.all') ]); !!}
{!! Form::label('sell_list_filter_customer_id', __('contact.customer') . ':') !!}
{!! Form::select('sell_list_filter_customer_id', $customers, null, ['class' => 'form-control select2', 'style' => 'width:100%', 'placeholder' => __('lang_v1.all')]); !!}
{!! Form::label('so_list_filter_status', __('sale.status') . ':') !!}
{!! Form::select('so_list_filter_status', $sales_order_statuses, null, ['class' => 'form-control select2', 'style' => 'width:100%', 'placeholder' => __('lang_v1.all')]); !!}
@if(!empty($shipping_statuses))
{!! Form::label('so_list_shipping_status', __('lang_v1.shipping_status') . ':') !!}
{!! Form::select('so_list_shipping_status', $shipping_statuses, null, ['class' => 'form-control select2', 'style' => 'width:100%', 'placeholder' => __('lang_v1.all')]); !!}
@endif
{!! 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']); !!}
{!! Form::label('order_delivery_date', __('Delivery Orders Date') . ':') !!}
{!! Form::select('order_delivery_date', [
1 => 'All deliveries today',
2 => 'All deliveries tomorrow',
7 => 'All deliveries next 7 days',
30 => 'All deliveries next 30 days',
365 => 'All future deliveries'
], null, ['placeholder' => __('lang_v1.select_a_date_range'), 'class' => 'form-control', 'id' => 'orderDeliveryDateSelect']) !!}
@endcomponent
@php
$business_id = request()->session()->get('user.business_id');
$business_details = App\Business::find($business_id);
$pos_settings = empty($business_details->pos_settings) ? $this->businessUtil->defaultPosSettings() : json_decode($business_details->pos_settings, true);
@endphp
@component('components.widget', ['class' => 'box-primary'])
@can('so.create')
@slot('tool')
@endslot
@endcan
@if( auth()->user()->can('so.view_own') || auth()->user()->can('so.view_all'))
| @lang('messages.action') |
@lang('Order Image') |
@lang('messages.date') |
@lang('restaurant.order_no') |
Delivery Date |
@if(isset($pos_settings['enable_sales_order_payment']) && $pos_settings['enable_sales_order_payment'] == 1)
Deposit Amount |
@endif
@lang('sale.customer_name') |
@lang('lang_v1.contact_no') |
@lang('sale.location') |
@lang('sale.status') |
@lang('lang_v1.shipping_status') |
@lang('lang_v1.quantity_remaining') |
@lang('lang_v1.added_by') |
@endif
@endcomponent
| Sku |
Item |
Total Ordered Quantity |
Available Stock |
Required Stock |
Business Location |
@stop
@section('javascript')
@includeIf('sales_order.common_js')
@endsection