@if ($subscribers->count() > 0) @foreach ($subscribers as $key => $subscriber) @foreach ($fields as $field) @endforeach @if (in_array("created_at", is_array(request()->columns) ? request()->columns : [])) @endif @if (in_array("updated_at", is_array(request()->columns) ? request()->columns : [])) @endif @endforeach
{{ $subscriber->email }}
{{ trans('messages.tracking_log_status_' . $subscriber->delivery_status) }}
{{ empty($subscriber->getValueByField($field)) ? "--" : $subscriber->getValueByField($field) }}
{{ $field->label }}
{{ Auth::user()->customer->formatDateTime($subscriber->created_at, 'datetime_full') }}
{{ trans('messages.created_at') }}
{{ Auth::user()->customer->formatDateTime($subscriber->updated_at, 'datetime_full') }}
{{ trans('messages.updated_at') }}
{{ null !== $subscriber->lastOpenLog($campaign) ? Auth::user()->customer->formatDateTime($subscriber->lastOpenLog($campaign)->created_at, 'datetime_full') : "--" }}
{{ trans('messages.last_open') }} @if (null !== $subscriber->lastOpenLog($campaign)) $campaign->uid, "search_keyword" => $subscriber->email]) }}"> {{ $subscriber->openLogs($campaign)->count() . " " . Tool::getPluralPrase(trans("messages.time"), $subscriber->openLogs($campaign)->count()) }} @endif
{{ null !== $subscriber->lastClickLog($campaign) ? Auth::user()->customer->formatDateTime($subscriber->lastClickLog($campaign)->created_at, 'datetime_full') : "--" }}
{{ trans('messages.last_click') }} @if (null !== $subscriber->lastClickLog($campaign)) $campaign->uid, "search_keyword" => $subscriber->email]) }}"> {{ $subscriber->clickLogs($campaign)->count() . " " . Tool::getPluralPrase("time", $subscriber->clickLogs($campaign)->count()) }} @endif
@if (\Gate::allows('update', $subscriber)) $subscriber->uid]) }}" role="button" class="btn btn-secondary btn-icon"> edit @endif
@include('elements/_per_page_select', ["items" => $subscribers]) @elseif (!empty(request()->keyword) || !empty(request()->filters))
people {{ trans('messages.no_search_result') }}
@else
people {{ trans('messages.subscriber_empty_line_1') }}
@endif