@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()->admin->formatDateTime($campaign->run_at, 'datetime_full') : "" }} @else {{ trans('messages.updated_at') }}: {{ Auth::user()->admin->formatDateTime($campaign->created_at, 'datetime_full') }} @endif
{{ $campaign->customer->displayName() }}
{{ trans('messages.customer') }}
{{ $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 }}
@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