@extends('user.layouts.app') @section('panel') {{translate('Send SMS')}} @csrf {{translate('Set Target Audience')}} {{ translate('Single Audience') }} {{ translate('Group Audience') }} {{ translate('Import File') }} {{ translate('Single Input') }} {{ translate('Put single or search from save file')}} {{ translate('From Group')}} {{ translate('Select One')}} @foreach($groups as $group) group_id, old("group_id")) ? "selected":"") }} @endif value="{{$group->id}}">{{$group->name}} @endforeach {{ translate('You can select single or multiple groups')}} {{translate('Add Logic to Groups to select specific contacts based on attrbitues')}} {{ translate('Import File')}} {{ translate("Upload File Here ") }} {{ translate('Download Sample: ')}} {{translate('csv')}} {{-- {{ translate('xlsx')}} --}} @if(auth()->user()->sms_gateway == 1) {{ $allowed_access->type == App\Enums\StatusEnum::FALSE->status() ? translate("Select User's SMS Gateway") : translate("Select Admin's SMS Gateway")}} {{translate('Sms Gateway Type')}} @if($allowed_access->type == App\Enums\StatusEnum::FALSE->status()) {{ translate('-- Choose One --') }} @foreach($credentials as $credential) @foreach($user->runningSubscription()->currentPlan()->sms->allowed_gateways as $key => $value) @if(preg_replace('/_/','',$key) == preg_replace('/ /','',strtoupper($credential->name))) {{strtoupper($credential->name)}} @endif @endforeach @endforeach @else {{ translate('-- Choose One --') }} @foreach($credentials as $credential) {{strtoupper($credential->name)}} @endforeach @endif {{translate('Sms Gateway')}} * @else {{ translate('Select Android Gateway')}} {{translate('Android Gateway')}} {{ translate('Automatic') }} @foreach($android_gateways as $gateway) {{strtoupper($gateway->name)}} @endforeach {{translate('Choose A Phone Number')}} * @endif {{translate('Schedule and message')}} {{ translate('Select SMS Type')}} * {{ translate('Text')}} {{ translate('Unicode')}} {{ translate('Schedule Date')}} {{ translate('Write Message')}} * {{session()->get('old_sms_message')}} {{ translate('Use Template')}} {{translate("Submit")}} {{translate('Suggestions Note')}} {{translate("By selecting the 'Single Audience' input field, you can enter a valid phone number with a country code (For Example: $general->country_code xxxxxxxxxx). In order to send or schedule an SMS, continue filling up the rest of the form. ")}} {{translate("By selecting the 'Group Audience' input field, You can choose your personal Text Phonebook group to send or schedule messages to all of the group's contacts.")}} {{translate("By selecting the 'Import File' input field, You can upload your local .csv or .xlsv files from your machine and send or schedule messages to those contacts")}} {{translate("By selecting the 'Schedule Date' input field, You can pick date and type to send a message according to that schedule")}} {{translate("You can either type your message or click the 'mic' icon to use the text to speech feature. By using the ")}}@php echo "{{". 'name' ."}}" @endphp {{ translate(" variable you can mention the name for that contact. But with 'Single Audience' selected only their number will pass by that variable.") }} {{translate("If you select the 'Text' option $general->sms_word_text_count characters will be allocated for a single SMS. And if you select 'unicode' then $general->sms_word_unicode_count characters will be allocated for each SMS.")}} {{translate("By this option you'll be able to select a specific gateway by which this SMS will be sent. If none are selected then the default gateway which you have selected within your gateway list will be used to send this SMS.")}}
{{translate("By selecting the 'Single Audience' input field, you can enter a valid phone number with a country code (For Example: $general->country_code xxxxxxxxxx). In order to send or schedule an SMS, continue filling up the rest of the form. ")}}
{{translate("By selecting the 'Group Audience' input field, You can choose your personal Text Phonebook group to send or schedule messages to all of the group's contacts.")}}
{{translate("By selecting the 'Import File' input field, You can upload your local .csv or .xlsv files from your machine and send or schedule messages to those contacts")}}
{{translate("By selecting the 'Schedule Date' input field, You can pick date and type to send a message according to that schedule")}}
{{translate("You can either type your message or click the 'mic' icon to use the text to speech feature. By using the ")}}@php echo "{{". 'name' ."}}" @endphp {{ translate(" variable you can mention the name for that contact. But with 'Single Audience' selected only their number will pass by that variable.") }}
{{translate("If you select the 'Text' option $general->sms_word_text_count characters will be allocated for a single SMS. And if you select 'unicode' then $general->sms_word_unicode_count characters will be allocated for each SMS.")}}
{{translate("By this option you'll be able to select a specific gateway by which this SMS will be sent. If none are selected then the default gateway which you have selected within your gateway list will be used to send this SMS.")}}