@extends('layouts.app') @section('title', __('SMS')) @section('content')
@include('layouts.leftside-menubar')
@include('components.pages-bar',['pageTitle' =>''. trans('Communicate').' / '. trans('Send SMS').'']) @include('components.sectionbar.communicate-bar')
{!! Form::open(['route' => 'academic.send_sms', '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_number', trans('Other Number Separate with (Comma/tab/Enter)'), ['class' => 'control-label']) !!} {!! Form::text('other_number', null, array('class' => 'form-control','data-role' => 'tagsinput', 'placeholder' => transMsg('Start with 8801*********'))) !!} @error('other_number') {{ $message }} @enderror
{!! Form::label('message', trans('Message'), ['class' => 'control-label']) !!} 0 @lang('Characters') | 1530 @lang('Characters Left') | @lang('Count SMS') : 0
* @lang('160 Characters are counted as 1 SMS in case of English language & 70 in other language').
* @lang('One simple text message containing extended GSM character set (~^{}[]\|) is of 70 characters long').
@lang('Check your SMS count before pushing SMS').
@error('message') {{ $message }} @enderror
{!! Form::close() !!}
@endsection @push('script') @endpush