@if (!isset($_GET['contact_id'])) @if ($isBot) @include('partials.input',['id'=>'name','name'=>'Bot name','placeholder'=>'Name for your bot', 'required'=>false]) @else @include('partials.input',['id'=>'name','name'=>'Campaign name','placeholder'=>'Name for your campaign', 'required'=>false]) @endif @endif @include('partials.select',['id'=>'template_id','name'=>'Template','data'=>$templates, 'required'=>true]) @if (isset($_GET['contact_id'])) @include('partials.select',['id'=>'contact_id','name'=>'Contact','data'=>$contacts, 'required'=>true]) @elseif($isBot) @include('partials.select',['id'=>'reply_type','name'=>'Reply type','value'=>2,'data'=>['2'=>__('Reply bot: On exact match'),'3'=>__('Reply bot: When message contains')], 'required'=>true]) @include('partials.input',[ 'name'=>'Trigger', 'id'=>'trigger', 'placeholder'=>'Enter bot reply trigger', 'required'=>false]) @elseif($isAPI) @else @include('partials.select',['id'=>'group_id','name'=>'Contacts','data'=>$groups, 'required'=>false])
{{ __('Per client, based on the contact timezone') }}
@include('partials.toggle',['dloff'=>'Schudule send','dlon'=>'Send now','dloff'=>'Schudule send','id'=>'send_now','name'=>'Ignore schuduled time and send now', 'checked'=>(isset($_GET['send_now']))]) @endif