|
@if($row->isRecoverable())
@endif
|
{{ $row->customer_name ?: ($row->email ?: 'Guest (no email)') }}
@if($row->customer_name && $row->email)
{{ $row->email }}
@endif
{{ collect([$row->phone, $row->country])->filter()->implode(' · ') ?: '—' }}
@if($row->customer_id) · Customer #{{ $row->customer_id }} @endif
|
@php $preview = collect($row->line_preview ?? []); @endphp
{{ $preview->first()['title'] ?? ($row->checkout?->lines[0]['title'] ?? 'Empty cart') }}
{{ $row->line_count }} {{ $row->line_count === 1 ? 'item' : 'items' }}
· Checkout #{{ $row->checkout_id }}
|
{{ $row->labeledTotal() }} |
{{ $stepLabel($row->last_step) }}
|
@foreach(array_keys($steps) as $stepNumber)
{{ $stepNumber }}
@endforeach
@if(! $row->isActive())
{{ $row->recovery_emails_sent }} {{ \Illuminate\Support\Str::plural('email', $row->recovery_emails_sent) }} sent
@elseif($row->next_email_at)
Next {{ $row->next_email_at->isPast() ? 'due now' : $row->next_email_at->diffForHumans() }}
@else
Sequence complete
@endif
@if($row->discount_code)
{{ $row->discount_code }}
@endif
@if($row->click_count)
Clicked {{ $row->click_count }}×
@endif
|
{{ $row->utm_source ?: ($row->source ?: 'direct') }}
@if($row->utm_campaign)
{{ $row->utm_campaign }}
@endif
|
{{ $label($row->status) }}
|
Abandoned {{ ($row->abandoned_at ?? $row->created_at)?->diffForHumans() }}
@if($row->last_emailed_at)
Emailed {{ $row->last_emailed_at->diffForHumans() }}
@endif
|
Open
@if($row->isRecoverable())
@endif
|
@empty