@php $split_test = \App\Models\SplitTest::whereId($split_test_stat->split_test_id)->first(); $action_data = ($split_test && !empty($split_test->action_data)) ? json_decode($split_test->action_data) : null; $hourlyLimit = '—'; $hourlyLimitClass = 'is-limited'; $hourlyLimitIcon = 'bi bi-speedometer2'; if (!empty($split_test_stat->sending_speed)) { $speed = json_decode($split_test_stat->sending_speed); if (is_object($speed) && isset($speed->speed)) { if ($speed->speed === 'unlimited') { $hourlyLimit = __('app.maximum'); $hourlyLimitClass = 'is-maximum'; $hourlyLimitIcon = 'bi bi-lightning-charge-fill'; } else { $limitValue = $speed->limit ?? '—'; $hourlyLimit = __('app.limited') . ' (' . $limitValue . '/' . __('app.hourly') . ')'; } } } $afterParts = []; if ($action_data) { if (isset($action_data->send_remaining_after) && $action_data->send_remaining_after !== '') { $afterParts[] = $action_data->send_remaining_after; } if (!empty($action_data->send_remaining_after_duration)) { $afterParts[] = $action_data->send_remaining_after_duration; } } $afterDisplay = count($afterParts) ? implode(' ', $afterParts) : '—'; @endphp
{{ __('app.total') }}
{{ $split_test_stat->total }}
{{ __('app.scheduled') }}
{{ __('app.sent') }}
{{ $split_test_stat->sent }}
{{ __('app.split_test') }}
{{ __('app.name') }}
{{ $split_test_stat->split_test_name }}
{{ __('app.scheduled_by') }}
{{ $split_test_stat->schedule_by }}
{{ __('app.created') }}
{{ !empty($split_test_stat->created_at) ? \App\Http\Helper\Helper::datetimeDisplay($split_test_stat->created_at) : '—' }}
{{ __('app.started_at') }}
{{ !empty($split_test_stat->start_datetime) ? \App\Http\Helper\Helper::datetimeDisplay($split_test_stat->start_datetime) : '—' }}
{{ __('app.ended_at') }}
{{ !empty($split_test_stat->end_datetime) ? \App\Http\Helper\Helper::datetimeDisplay($split_test_stat->end_datetime) : '—' }}
{{ __('app.split_test_configuration') }}
{{ __('app.winning_campaign') }}
{{ $split_test?->winning_campaign_name ?? '—' }}
{{ __('app.winning_criteria') }}
{{ $split_test && !empty($split_test->winning_criteria) ? ucfirst($split_test->winning_criteria) : '—' }}
{{ __('app.decision_percentage') }}
{{ $split_test?->decision_percentage ?? '—' }}@if($split_test && !empty($split_test->decision_percentage)) %@endif
{{ __('app.action') }}
{{ ($split_test && !empty($split_test->action)) ? ucwords(str_replace('_', ' ', $split_test->action)) : '—' }}
{{ __('app.after') }}
{{ $afterDisplay }}
{{ __('app.delivery_settings') }}
{{ __('app.lists') }}
{{ __('app.broadcast') }}
{{ __('app.delivery_servers') }}
{{ __('app.limit') }} ({{ __('app.hourly') }})
{{ $hourlyLimit }}
{{ __('app.stats') }}
{{ __('app.opens') }}
{{ __('app.clicks') }}
{{ __('app.replies') }}
{{ __('app.unsubscribed') }}
{{ __('app.bounces') }}
{{ __('app.spams') }}
{{ __('app.sent') }}
{{ __('app.opens') }} — {{ __('app.country') }}