@extends('layouts.app') @section('title', __('SMS')) @section('content')
@include('layouts.leftside-menubar')
@include('components.pages-bar',['pageTitle' =>''. trans('Communicate').' / '. trans('Send E-mail').'']) @include('components.sectionbar.communicate-bar')
{!! Form::open(['route' => 'academic.send_email', 'method' => 'post']) !!}
{!! Form::label('teacher', trans('Teacher'), ['class' => 'control-label']) !!} {!! Form::select('teacher[]',$teacher ?? array(), null, array('class' => 'select2 form-control','multiple')) !!} @error('teacher') {{ $message }} @enderror
{!! Form::label('section', trans('Section'), ['class' => 'control-label']) !!} {!! Form::select('section',$section, $request_section ?? null, array('class' => 'select2 form-control','onchange'=>'getStudentsBySection(this.value,1,0)', 'placeholder' => trans('Choose'))) !!} @error('section') {{ $message }} @enderror
{!! Form::label('student', trans('Student'), ['class' => 'control-label']) !!} {!! Form::select('student[]',array(), null, array('id'=>'student','class' => 'select2 form-control','multiple')) !!} @error('student') {{ $message }} @enderror
{!! Form::label('other_email', trans('Other Email Separate with (Comma/tab/Enter)'), ['class' => 'control-label']) !!} {!! Form::text('other_email', null, array('class' => 'form-control','data-role' => 'tagsinput', 'placeholder' => transMsg('something@gmail.com'))) !!} @error('other_email') {{ $message }} @enderror
{!! Form::label('subject', trans('Subject'), ['class' => 'control-label']) !!} {!! Form::text('subject', null, array('class' => 'form-control','required', 'placeholder' => transMsg('Subject'))) !!} @error('subject') {{ $message }} @enderror
{!! Form::label('message', trans('Message'), ['class' => 'control-label']) !!} {!! Form::textarea('message', NULL, array('id' => 'message', 'required', 'class' => 'form-control ckeditor ', 'placeholder' => trans('Message'))) !!} @error('message') {{ $message }} @enderror
{!! Form::close() !!}
@endsection @push('script') @endpush