@extends('layouts.app', ['title' => $contact ? __tr('Send WhatsApp Template Message') : __tr('Create New Campaign')]) @section('content') @include('users.partials.header', [ 'title' => $contact ? __tr('Send WhatsApp Template Message') : __tr('Create New Campaign'), 'description' => '', // 'class' => 'col-lg-7' ])
@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 !!}
@else {{-- Campaign Creation --}}
{!! $template !!}

{{ __tr('Step 2') }}

{{ __tr('Contacts and Schedule') }} {{-- select group --}} @foreach($vendorContactGroups as $vendorContactGroup) @endforeach {{-- /select group --}}
@foreach (getTimezonesArray() as $timezone) @endforeach
@endif
@endsection() @push('appScripts') @endpush