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

@lang('lang_v1.sales_order')

@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']); !!}
@endcomponent @component('components.widget', ['class' => 'box-primary']) @can('so.create') @slot('tool')
@lang('lang_v1.add_sales_order')
@endslot @endcan @if( auth()->user()->can('so.view_own') || auth()->user()->can('so.view_all'))
@lang('messages.action') @lang('messages.date') @lang('restaurant.order_no') @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
@stop @section('javascript') @includeIf('sales_order.common_js') @endsection