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

@lang( 'lang_v1.shipments')

@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('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('created_by', __('report.user') . ':') !!} {!! Form::select('created_by', $sales_representative, null, ['class' => 'form-control select2', 'style' => 'width:100%']); !!}
{!! Form::label('sell_list_filter_payment_status', __('purchase.payment_status') . ':') !!} {!! Form::select('sell_list_filter_payment_status', ['paid' => __('lang_v1.paid'), 'due' => __('lang_v1.due'), 'partial' => __('lang_v1.partial'), 'overdue' => __('lang_v1.overdue')], null, ['class' => 'form-control select2', 'style' => 'width:100%', 'placeholder' => __('lang_v1.all')]); !!}
{!! Form::label('shipping_status', __('lang_v1.shipping_status') . ':') !!} {!! Form::select('shipping_status', $shipping_statuses, null, ['class' => 'form-control select2', 'style' => 'width:100%', 'placeholder' => __('lang_v1.all') ]); !!}
@if(!empty($service_staffs))
{!! Form::label('service_staffs', __('restaurant.service_staff') . ':') !!} {!! Form::select('service_staffs', $service_staffs, null, ['class' => 'form-control select2', 'style' => 'width:100%', 'placeholder' => __('lang_v1.all')]); !!}
@endif
{!! 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', 200 => 'All future deliveries' ], null, ['placeholder' => __('lang_v1.select_a_date_range'), 'class' => 'form-control', 'id' => 'orderDeliveryDateSelect']) !!}
@foreach($shipping_status_counts as $status)
{{ $status->shipping_status }} {{ $status->total }}
@endforeach @endcomponent @php $custom_labels = json_decode(session('business.custom_labels'), true); @endphp @component('components.widget', ['class' => 'box-primary']) @if(auth()->user()->can('access_shipping') || auth()->user()->can('access_own_shipping') || auth()->user()->can('access_commission_agent_shipping') )
@lang('messages.action') Image @lang('messages.date') @lang('sale.invoice_no') Delivery Date @lang('Paid Amount') @lang('Due Amount') @lang('Service Type') @lang('sale.customer_name') @lang('lang_v1.contact_no') @lang('sale.location') @lang('lang_v1.shipping_status') {{ $custom_labels['shipping']['custom_field_1'] ?? '' }} {{ $custom_labels['shipping']['custom_field_2'] ?? ''}} {{ $custom_labels['shipping']['custom_field_3'] ?? ''}} {{ $custom_labels['shipping']['custom_field_4'] ?? ''}} @lang('sale.payment_status') @lang('restaurant.service_staff')
@endif @endcomponent
@stop @section('javascript') @endsection