@extends('layouts.app', ['title' => __('Send new campaign')]) @section('head') @endsection @section('content') @include('companies.partials.modals')
@if ($isBot)

🤖 {{__('Create new template bot')}}

@elseif ($isAPI)

🔌 {{__('Create new API campaign')}}

@else

📢 {{__('Send new campaign')}}

@endif
@csrf
@if ($isBot)

{{__('Template bot')}}

@elseif ($isAPI)

{{__('API campaign')}}

@else

{{__('Campaign')}}

@endif
@include('wpbox::campaigns.new.campaign')
@if (isset($_GET['template_id']))

{{__('Variables')}}

@include('wpbox::campaigns.new.variables')

{{__('Preview')}}

@include('wpbox::campaigns.new.preview')
@if ($isBot)

{{__('Save bot')}}

@elseif ($isAPI)

{{__('Save API campaign')}}

@else

{{__('Send campaign')}}

@endif
@if (!isset($_GET['contact_id'])) @if ($isBot)

{{__('This message will be sent to the contact once the trigger rule is met in the message sent by the contact.')}}

@elseif ($isAPI)

{{__('This message will be sent once API with campaign ID called')}}

@else @if($selectedContacts!="") @if ($selectedContacts==1)

{{__('Send to')}}:{{$selectedContacts}} {{__('contact')}}

@else

{{__('Send to')}}:{{$selectedContacts}} {{__('contacts')}}

@endif @endif @endif @endif @if ($isBot) @elseif ($isAPI) @else @if (!isset($_GET['contact_id'])&&$selectedContacts>0) @elseif(isset($_GET['contact_id'])) @endif @endif
@endif
@endsection