@php $layout = isSeller() ? 'layouts.seller' : 'layouts.admin'; $routDashboard = isSeller() ? route('seller.dashboard', getStoreSlug()) :route('admin.dashboard'); @endphp @extends($layout) @section('content')
{!! Form::open(array('route' =>[$route], 'method' => 'GET', 'class'=>'filter_form col-md-12')) !!}
{!! Form::label("month", __('report.month')) !!} {!! Form::text("date",$inputs['date'] ?? dateFormat(currentDate(),'M,Y'), ['class'=>'form-control datepicker']) !!}
@if(isSeller() < 1)
{!! Form::label("Stores", __('report.store')) !!} {!! Form::select("store_id[]",$stores,$inputs['store_id'] ?? "", ['class'=>'form-control select2','multiple'=>true]) !!}
@endif
{!! Form::label("Category", __('report.category')) !!} {!! Form::select("category_ids[]",$result['categories'],$inputs['category_ids'] ?? "", ['class'=>'form-control select2','multiple'=>true]) !!}
{!! Form::submit(__('common.search'), ['class'=>'btn btn-primary btn_sub']) !!} {!! __('orders.reset') !!}
{!! Form::close() !!}
{!! Form::open(array('route' =>[$route], 'method' => 'GET', 'class'=>'filter_form col-md-12')) !!}
{!! Form::label("Email(s)", __('report.email')) !!} {!! Form::select("email[]",[],null, ['class'=>'form-control select-2','required'=>true,'multiple'=>true]) !!} {!! Form::hidden("type","email") !!} Eg : abc@domain.com, xyz@domain.com, etc
{!! Form::submit(__('report.send_report'), ['class'=>'btn btn-primary btn_sub']) !!}
{!! Form::close() !!}
@if(count($result['category_items']) > 0) @endif
@include('admin.report.consolidated-inventory-sale-view')
@endsection