Total Stores: {{ $stores->total() }}
Showing {{ $stores->firstItem() }} - {{ $stores->lastItem() }}
@forelse($stores as $store) @empty @endforelse
Store @if($sortField=='store_name') @elseif($secondarySortField=='store_name') @endif Rank @if($sortField=='semrush_rank') @elseif($secondarySortField=='semrush_rank') @endif Signup Affiliate URL Coupon Credentials Country @if($sortField=='country') @elseif($secondarySortField=='country') @endif Status @if($sortField=='status') @elseif($secondarySortField=='status') @endif Action
@php $url = $store->store_name; if (!Str::startsWith($url, ['http://', 'https://'])) { $url = 'https://' . $url; } @endphp {{ $store->store_name }} @if(is_numeric($store->semrush_rank)) {{ number_format($store->semrush_rank) }} @else N/A @endif @php $link = Str::match('/https?:\/\/[^\s]+/', $store->signup_page ?? ''); @endphp @if($link) Signup @else No link @endif @if($store->affiliate_url)
Visit
@else No link @endif
@if($store->coupon) {{ $store->coupon }} @endif @if($store->email || $store->password)
{{ $store->email ?? 'N/A' }} | {{ $store->password ?? 'N/A' }}
@else No credentials @endif
{{ $store->country }} @php $rawStatus = $store->status ?? 'No status'; @endphp @if($store->normalized_status == 'approved') Approved @elseif($store->normalized_status == 'pending') Pending @elseif($store->normalized_status == 'declined') Declined @else Unknown @endif
No stores found
{{ $stores->links() }}