{{ __('Dashboard') }}

{{ __('The campaign will not start until you click') }} {{ __('Run') }}, {{ __('whether it is set to send immediately or scheduled for later.') }}
{{ __('Once you click') }} {{ __('Run') }}, {{ __('scheduled campaigns will be sent automatically based on the schedule you have configured.') }}
{{ __('Total Campaign') }}
{{ $stats->total_campaign ?? 0 }}
{{ __('Total Sent') }}
{{ number_format($stats->total_sent ?? 0) }}
{{ __('Total Failed') }}
{{ number_format($stats->total_failed ?? 0) }}
{{ __('Active Device') }}
{{ $deviceInfo->body ?? __('No Device') }}
@if($search) @endif
@if($records->total() > 0)
{{ __('History') }}
{{ __('Create Campaign') }}
@foreach($records as $row) @php $percent = $row->total_data > 0 ? round(($row->sent_count / $row->total_data) * 100) : 0; @endphp @endforeach
{{ __('Campaign Name') }} {{ __('Type') }} {{ __('Progress') }} {{ __('Status') }} {{ __('Schedule') }} {{ __('Action') }}
{{ $row->name }}
{{ $row->total_data }} {{ __('messages') }}
@if($row->message_type == 'text') {{ __('Text') }} @elseif($row->message_type == 'image') {{ __('Image') }} @else {{ __('File') }} @endif
{{ $row->sent_count }} / {{ $row->total_data }} {{ __('sent') }} {{ $percent }}%
@if($row->status == 'processing') {{ __('Running') }} @elseif($row->status == 'paused') {{ __('Paused') }} @elseif($row->status == 'completed') {{ __('Complete') }} @else {{ __('Pending') }} @endif @if($row->scheduled_at) {{ $row->scheduled_at }} @else {{ __('Immediately') }} @endif
@if($row->status == 'pending' || $row->status == 'paused') @elseif($row->status == 'processing' || $row->status == 'sending') @endif
@if($records->hasPages())
{{ $records->withQueryString()->links() }}
@endif @else @if($search)
{{ __('No results found for') }} "{{ $search }}"
{{ __('Try using different keywords or clear the search filter.') }}
{{ __('Clear Search') }}
@else
{{ __('No campaigns found') }}
{{ __('Create First Campaign') }}
@endif @endif