@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->getActiveSubscription())
assignment_turned_in {{ $customer->currentPlanName() }}
{{ trans('messages.current_plan') }} @elseif ($customer->getNewSubscription())
assignment_turned_in {{ $customer->getNewSubscription()->getPlanName() }}
{{ trans('messages.subscription.pending') }} @else {{ trans('messages.customer.no_active_subscription') }} @endif
@if ($customer->getCurrentActiveSubscription())
{{ number_with_delimiter($customer->getCurrentActiveSubscription()->getCreditsUsedPercentageDuringPlanCycle('send')*100) }}%
{{ number_with_delimiter($customer->getCurrentActiveSubscription()->getCreditsUsedDuringPlanCycle('send')) }}/{{ ($customer->getCurrentActiveSubscription()->getCreditsLimit('send') == -1) ? '∞' : number_with_delimiter($customer->getCurrentActiveSubscription()->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