Leads ({{ count(array_filter($newProductSells, function($item) { return isset($item->status) && $item->status != 'confirmed'; })) }})
CSV @if(Auth::check() && Auth::user()->admin == 1) @endif
@foreach($newProductSells as $productSell) @if(isset($productSell->status) && $productSell->status == 'confirmed') @continue @endif
Email & Referrer Amount / Status Date Email Reminders Actions
{{ $productSell->user['email'] ?? '' }} @if(isset($productSell->user['phone']) && !empty($productSell->user['phone']))
{{ $productSell->user['phone'] }} @endif @if(!empty($productSell->referral_url))
{{ mb_strimwidth($productSell->referral_url, 0, 25, '...') }} @endif
{{ currencySign().number_format($productSell->amount) }} {{ $productSell->status }} {{ $productSell->created_at->diffForHumans() }}
{{ $productSell->created_at->format('Y-m-d H:i') }}
@php $isSubscribed = \App\Models\LeadEmailSubscription::where('payment_id', $productSell->id) ->where('status', 'active') ->exists(); @endphp @if($isSubscribed) Active
Receiving reminders @else Inactive
No reminders @endif