@php $layout = isSeller() ? 'layouts.seller' : 'layouts.admin'; @endphp @extends($layout) @section('css') @endsection @section('content')
{!! Form::open(array('route' => $route, 'method' => 'GET', 'class'=>'filter_form mobile_filter' , 'style' => 'display: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_ids', __('report.store'), ['class' => 'first-column']) !!} {!! Form::select('store_ids[]', $stores, isset($inputs['store_ids']) ? $inputs['store_ids'] : [], [ 'class' => 'form-control select2 second-column', 'id' => 'store_ids', 'multiple' => true, 'data-actions-box' => 'true', 'data-width' => '100%', ]) !!}
@endif
{!! Form::hidden('filter', 1) !!} {!! Form::submit(__('orders.search'), ['class' => 'btn btn-primary btn_sub width80']) !!} {!! __('orders.reset') !!}
{!! Form::close() !!} @if ((isset($listData) && count($listData) > 0) || (isset($salaryCost) && count($salaryCost) > 0))
@endif
@endsection @section('script') @endsection