@if ($customers->count() > 0) @foreach ($customers as $key => $customer) @endforeach
{{ $customer->displayName() }}
{{ $customer->user->email }}
{{ trans('messages.customer.bounce_feedback_rate') }} {{ number_to_percentage($customer->readCache('Bounce/FeedbackRate') ?? 0) }}
{{ trans('messages.created_at') }}: {{ Auth::user()->admin->formatDateTime($customer->created_at, 'datetime_full') }}
@if ($customer->getCurrentActiveGeneralSubscription())
assignment_turned_in {{ $customer->getCurrentActiveGeneralSubscription()->planGeneral->name }}
{{ trans('messages.current_plan') }} @elseif ($customer->getNewGeneralSubscription())
assignment_turned_in {{ $customer->getNewGeneralSubscription()->getPlanName() }}
{{ trans('messages.subscription.pending') }} @else {{ trans('messages.customer.no_active_subscription') }} @endif
@if ($customer->getCurrentActiveGeneralSubscription())
{{ number_with_delimiter($customer->getCurrentActiveGeneralSubscription()->getRemainingEmailCreditsPercentage()*100) }}%
{{ number_with_delimiter($customer->getCurrentActiveGeneralSubscription()->getSendEmailRateTracker()->getCreditsUsed()) }}/{{ ($customer->getCurrentActiveGeneralSubscription()->getCreditsLimit('send') == -1) ? '∞' : number_with_delimiter($customer->getCurrentActiveGeneralSubscription()->getCreditsLimit('send')) }}
{{ trans('messages.sending_credits_used') }}
{{ $customer->displaySubscribersUsage() }}
{{ number_with_delimiter($customer->readCache('SubscriberCount')) }}/{{ number_with_delimiter($customer->maxSubscribers()) }}
{{ trans('messages.subscribers') }}
@endif
{{ trans('messages.user_status_' . $customer->status) }} @can('loginAs', $customer) login @endcan @can('update', $customer) edit @endcan @if (Auth::user()->can('delete', $customer) || Auth::user()->can('enable', $customer) || Auth::user()->can('disable', $customer) || Auth::user()->can('assignPlan', $customer) ) @endcan
@include('elements/_per_page_select', ["items" => $customers]) @elseif (!empty(request()->keyword))
people_outline {{ trans('messages.no_search_result') }}
@else
people_outline {{ trans('messages.customer_empty_line_1') }}
@endif