@if ($campaigns->count() > 0) @foreach ($campaigns as $key => $campaign) @if ($campaign->status != 'new') @else @endif @endforeach
{{ $campaign->name }} {{ trans('messages.' . $campaign->type) }} @if ($campaign->readCache('SubscriberCount'))
{{ number_with_delimiter($campaign->readCache('SubscriberCount')) }} {{ trans('messages.recipients') }}
@endif @if ($campaign->status != 'new' && isset($campaign->run_at)) {{ trans('messages.run_at') }}: alarm {{ isset($campaign->run_at) ? Auth::user()->customer->formatDateTime($campaign->run_at, 'datetime_full') : "" }} @else {{ trans('messages.updated_at') }}: {{ Auth::user()->customer->formatDateTime($campaign->created_at, 'datetime_full') }} @endif
{{ $campaign->isSending() ? number_to_percentage($campaign->deliveredRate(true)) : number_to_percentage($campaign->readCache('DeliveredRate')) }}
{{ $campaign->isSending() ? number_with_delimiter($campaign->deliveredCount()) : number_with_delimiter($campaign->readCache('DeliveredCount', 0)) }} / {{ number_with_delimiter($campaign->readCache('SubscriberCount', 0)) }}
{{ trans('messages.sent') }}
{{ number_to_percentage($campaign->readCache('UniqOpenRate')) }}
{{ trans('messages.open_rate') }}
{{ number_to_percentage($campaign->readCache('ClickedRate')) }}
{{ trans('messages.click_rate') }}
{{ trans('messages.campaign_status_' . $campaign->status) }}
{{ $campaign->last_error }}
@if (\Gate::allows('update', $campaign)) edit {{ trans('messages.edit') }} @endif @if (\Gate::allows('overview', $campaign)) {{ trans('messages.campaign.overview_statistics') }} @endif @if (\Gate::allows('delete', $campaign) || \Gate::allows('pause', $campaign) || \Gate::allows('restart', $campaign))
@endif
@include('elements/_per_page_select', ["items" => $campaigns]) @elseif (!empty(request()->keyword))
auto_awesome {{ trans('messages.no_search_result') }}
@else
auto_awesome {{ trans('messages.campaign_empty_line_1') }}
@endif