@if ($contacts->count() > 0)
{{ trans('messages.automation.contact.all_count', ['count' => number_with_delimiter($contacts->total(), $precision = 0)]) }}
@foreach ($contacts as $key => $contact)
@php
$trigger = $automation->getAutoTriggerFor($contact);
@endphp
@if (!is_null($trigger))
@php
$points = $trigger->getExecutedActions();
@endphp
@if (empty($points))
{{ trans('messages.automation.status.triggered.desc') }}
@endif
@foreach ($points as $action)
@endforeach
@endif
@if (is_null($trigger))
{{ trans('messages.automation.trigger_now') }}
@else
{{ trans('messages.automation.last_activity') }} •
{{ trans('messages.trigger.check') }}
@endif
@endforeach
@include('helpers._pagination', ['paginator' => $contacts] )
@else
{{ trans('messages.automation.empty_contacts') }}
@endif