@php $layout = isSeller() ? 'layouts.seller' : 'layouts.admin'; @endphp @extends($layout) @section('content')
{!! Form::open(array('route' =>['report.consolidate-week-report'], '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'), ['class'=>'btn btn-primary btn_sub']) !!}
{!! Form::close() !!}
{!! Form::open(array('route' =>['master-admin-settings.update-emails',masterCompanyId()], 'method' => 'POST', 'class'=>'filter_form col-md-12','id' => 'ajaxSave')) !!}
{!! Form::label("Email(s)", __('report.email_automatic')) !!} {!! Form::select("consolidated_report_emails[]",array_combine($reportEmails,$reportEmails),$reportEmails, ['class'=>'form-control select-2','required'=>true,'multiple'=>true]) !!} Eg : abc@domain.com, xyz@domain.com, etc
{!! Form::hidden('consolidate_week_report', 1) !!}
{!! Form::submit(__('common.save'), ['class'=>'btn btn-primary btn_sub']) !!}
{!! Form::close() !!}
{{--
{!! Form::open(array('method' => 'GET', 'class'=>'filter_form d-flex')) !!}
{!! Form::label("admin_remark", __('report.admin_remark')) !!} {!! Form::textarea('admin_remark',session('admin_remark') ?? '',['class' => 'form-control' , 'size' => '40x3']) !!}
{!! Form::submit(__('common.save'), ['class'=>'btn btn-primary width80 ml-2 btn_sub']) !!} {!! __('common.reset') !!}
{!! Form::close() !!}
--}} {{----}}
@include('admin.report.consolidated-week-report-view')
@endsection