@extends('layouts.app') @section('content')

Automatic Calling — Campaigns

Create and manage outbound campaign calling.
New Campaign
@if(session('success'))
{{ session('success') }}
@endif {{-- Filters --}}
Clear
{{-- Campaign table --}}
@forelse($campaigns as $c) @empty @endforelse
Campaign Team Method Status Contacts Progress Action
{{ $c->name }} {{ $c->team?->name ?? '—' }} @php $modeLabels = ['preview'=>'Agent Calls Customer','direct_agent'=>'Automatic for Available Agents','send_to_team'=>'Send Answered Customers to Team']; @endphp {{ $modeLabels[$c->calling_mode] ?? $c->calling_mode }} @php $stateStyles = ['running'=>'bg-primary-subtle text-primary','paused'=>'bg-warning-subtle text-warning','completed'=>'bg-success-subtle text-success','stopped'=>'bg-secondary-subtle text-secondary','draft'=>'bg-secondary-subtle text-secondary','needs_attention'=>'bg-danger-subtle text-danger','scheduled'=>'bg-info-subtle text-info','archived'=>'bg-secondary-subtle text-secondary']; @endphp {{ ucfirst(str_replace('_', ' ', $c->state)) }} {{ number_format($c->contact_count) }}
{{ $c->progress_percent }}%
View
No campaigns yet. Create your first campaign.
{{ $campaigns->links() }} @endsection