@php $layout = (isSeller()) ? 'layouts.seller' : 'layouts.admin'; @endphp @extends($layout) @section('content')
@php $orderRoute = (isSeller()) ? 'seller.order.index': 'orders.index'; @endphp {!! Form::open(array('route' => $orderRoute, 'method' => 'GET','class'=>'filter_form mobile_filter col-md-12')) !!}
{{--
{!! Form::label("from",__('orders.from'), []) !!} {!! Form::text("from", (isset($_GET['from'])?dateFormat($_GET['from'],SHOW_DATE):''), ['class'=>'form-control p-3 datepicker-input']) !!}
{!! Form::label("to", __('orders.to'), []) !!} {!! Form::text("to", (isset($_GET['to'])?dateFormat($_GET['to'],SHOW_DATE):''), ['class'=>'form-control datepicker-input']) !!}
--}}
{!! Form::label("date", __('report.date') ,['class' => 'first-column']) !!}
{!! Form::hidden('from', isset($_GET['from'])?$_GET['from'] : '', ['id' => 'from']) !!} {!! Form::hidden('to', isset($_GET['to'])?$_GET['to'] : '', ['id' => 'to']) !!}
@if(isSeller() <=0)
{!! Form::label("store_name", __('orders.store_name'), ['class' => 'first-column']) !!} {!! Form::select('store[]', $stores, (isset($_GET['store'])?$_GET['store']:''), ['class'=>'form-control select2 second-column store-box','multiple'=>true]) !!}
@endif
{!! Form::label("delivery_type", __('orders.delivery_type'), ['class' => 'first-column']) !!} {!! Form::select('delivery_type[]', deliveryType(), (isset($_GET['delivery_type'])?$_GET['delivery_type']:''), ['class'=>'form-control select2 second-column','multiple'=>true]) !!}
{!! Form::label("status", __('orders.order_status'), ['class' => 'first-column']) !!} {!! Form::select('status[]',orderStatus(), (isset($_GET['status'])?$_GET['status']:''), ['class'=>'form-control select2 second-column','multiple'=>true]) !!}
{!! Form::label("payment_status",__('orders.payment_status'), ['class' => 'first-column']) !!} {!! Form::select('payment_status[]',paymentStatus(), (isset($_GET['payment_status'])?$_GET['payment_status']:''), ['class'=>'form-control select2 second-column','multiple'=>true]) !!}
{!! Form::label("payment_method", __('orders.payment_method'), ['class' => 'first-column']) !!} {!! Form::select('payment_method[]',paymentMethodDropdown(),(isset($_GET['payment_method'])?$_GET['payment_method']:'') , ['class'=>'form-control select2 second-column','multiple'=>true]) !!}
{!! Form::label("order_from", __('report.platform'), ['class' => 'first-column']) !!} {!! Form::select('order_from[]',orderFrom(), (isset($_GET['order_from'])?$_GET['order_from']:''), ['class'=>'form-control select2 second-column','multiple'=>true]) !!}
{{----}}
{!! Form::close() !!}
@php $paginateRoute = (isSeller()) ? route('seller.order.paginate'): route('orders.paginate'); @endphp @if(isSeller() <= 0) @endif {{----}}
{{ __('common.sr-no') }} {{ __('orders.id') }} {{ __('orders.name') }}{{ __('orders.store_name') }}{{ __('orders.total_price') }}{{ __('orders.rider') }}{{ __('orders.delivery_type') }} {{ __('orders.status') }} {{ __('orders.payment_status') }} {{ __('common.created-on') }} {{ __('orders.view_order') }}
@endsection @section('script') @endsection