@php $isForIndividualContact = !__isEmpty($contact); @endphp @extends('layouts.app', ['title' => $isForIndividualContact ? __tr('Send WhatsApp Template Message') : __tr('Create New Campaign')]) @section('content') @include('users.partials.header', [ 'title' => $isForIndividualContact ? __tr('Send WhatsApp Template Message') : __tr('Create New Campaign'), 'description' => '', // 'class' => 'col-lg-7' ])
@if(session('loggedBySuperAdmin') and !getAppSettings('enable_queue_jobs_for_campaigns') and (!getAppSettings('cron_setup_done_at')))
{{ __tr('App Alert!!') }} {{ __tr('Cron Job or Queue Worker setup is required to execute campaigns. Please see Setup and Integration page in SuperAdmin area.') }}
@endif
@if ($contact)
{{ __tr('Name') }} : {{ $contact->full_name }}
{{ __tr('Phone') }} : {{ $contact->wa_id }}
{{ __tr('Country') }} : {{ $contact->country?->name }}
@else @if(!getVendorSettings('test_recipient_contact'))
{{ __tr('Test Contact missing, You need to set the Test Contact first, do it under the WhatsApp Settings') }}
@endif @endif
@if (!$contact)

{{ __tr('Step 1') }}

@endif
@foreach ($whatsAppTemplates as $whatsAppTemplate) @endforeach
@if ($contact)
{!! $template !!}
{{-- /Carousel Template View --}} @include('whatsapp.from-phone-number')
@else {{-- Campaign Creation --}}
{!! $template !!}

{{ __tr('Step 2') }}

{{ __tr('Contacts and Schedule') }}
{{ __tr('Target Contacts') }} {{-- select group --}} @foreach($vendorContactGroups as $vendorContactGroup) @endforeach {{-- /select group --}} @if (isset($allLabels) && count($allLabels) > 0) @foreach($allLabels as $label) @endforeach @endif
{{ __tr('Schedule') }}
@foreach (getTimezonesArray() as $timezone) @endforeach
{{ __tr('Expiry') }}
{{ __tr("Messages will be set as expired if delayed in sending and won't be sent for the further processing.") }}
@include('whatsapp.from-phone-number')
@endif
@endsection() @push('appScripts')
Fatal error: Uncaught Error: Call to undefined function __yesset() in /home/wtconnects/public_html/backup2808/resources/views/whatsapp/template-send-message.blade.php:188 Stack trace: #0 {main} thrown in /home/wtconnects/public_html/backup2808/resources/views/whatsapp/template-send-message.blade.php on line 188