@php $layout = $isSeller ? 'layouts.seller' : 'layouts.admin'; @endphp @extends($layout) @section('content')
{!! Form::open(array('route' => $route, 'method' => 'GET', 'class'=>'mobile_filter d-block')) !!}
{{--
--}} {!! Form::label("date", __('report.date'), ['class' => 'first-column']) !!}
{!! Form::hidden('from_date', isset($inputs['from_date'])?$inputs['from_date'] : '', ['id' => 'from_date']) !!} {!! Form::hidden('to_date', isset($inputs['to_date'])?$inputs['to_date'] : '', ['id' => 'to_date']) !!} {{--
--}}
{{ Form::label('time', __('report.time'), ['class' => 'first-column']) }} {{ Form::text('', $inputs['from_time'] .'-'. $inputs['to_time'], ['class' => 'form-control', 'id' => 'start_end_time']) }} {!! Form::hidden('from_time', isset($inputs['from_time'])?$inputs['from_time'] : '', ['id' => 'from_time']) !!} {!! Form::hidden('to_time', isset($inputs['to_time'])?$inputs['to_time'] : '', ['id' => 'to_time']) !!}
@if(!$isSeller)
{!! Form::label("store[]", __('report.store'), ['class' => 'first-column']) !!} {!! Form::select('store[]', $stores, (isset($inputs['store'])?$inputs['store']:[]), [ 'class'=>'form-control select2 second-column', 'id' => 'store_id', 'multiple' => true, 'data-actions-box'=>'true', 'data-width'=>'100%', 'required' => true, 'data-route' => route('report.get-store-category'), ]) !!}
@endif
{!! Form::label("category[]", __('report.category'), ['class' => 'first-column']) !!} {!! Form::select('category[]', $categories, (isset($inputs['category'])?$inputs['category']:[]), [ 'class'=>'form-control select2 second-column', 'id' => 'category_id', 'multiple' => true, 'data-actions-box'=>'true', 'data-width'=>'100%', ]) !!}
{!! Form::hidden('filter', 1) !!} {!! Form::submit(__('orders.search'), ['class'=>'btn btn-primary btn_sub width80']) !!} {!! __('orders.reset') !!}
{!! Form::close() !!} @if(!isset($inputs['is_download']) && (isset($result) && count($result) > 0)) @endif
@include('admin.report.order-stats-view')
@endsection @section('script') @endsection