@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 @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') )
@if(!empty($custom_labels['shipping']['custom_field_1'])) @endif @if(!empty($custom_labels['shipping']['custom_field_2'])) @endif @if(!empty($custom_labels['shipping']['custom_field_3'])) @endif @if(!empty($custom_labels['shipping']['custom_field_4'])) @endif @if(!empty($custom_labels['shipping']['custom_field_5'])) @endif
@lang('messages.action') @lang('messages.date') @lang('sale.invoice_no') @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']}} {{$custom_labels['shipping']['custom_field_5']}} @lang('sale.payment_status') @lang('restaurant.service_staff')
@endif @endcomponent
@stop @section('javascript') @endsection