@extends('backend.layouts.app') @section('content')
| # | User | Phone | Referral Code | Reward Points | Successful Referrals | Action |
|---|---|---|---|---|---|---|
| {{ ($userReferralData->currentPage()-1)*$userReferralData->perPage() + $key + 1 }} |
{{ strtoupper(substr($u->name ?? 'U', 0, 1)) }}
{{ $u->name ?? 'N/A' }}
@if($isToday)NEW@endif
#{{ $u->id ?? '' }} ยท {{ $u->email ?? '' }}
|
{{ $u->phone ?? 'โ' }} | {{ $value->referral_code }} | โญ {{ $u->reward_points ?? 0 }} pts | โ {{ $count }} users | @can('view_inquiry') ๐ View @endcan |
No referrers found | ||||||
| # | Person | Phone | Referred By | Invite Date | Days Ago | Action |
|---|---|---|---|---|---|---|
| {{ ($userReferralData->currentPage()-1)*$userReferralData->perPage() + $key + 1 }} |
{{ strtoupper(substr($value->name ?? 'U', 0, 1)) }}
{{ $value->name ?? 'N/A' }}
{{ $value->email ?? '' }}
|
{{ $value->phone ?? 'โ' }} |
{{ $value->referred_by_name ?? 'โ' }}
{{ $value->referred_by_phone ?? '' }}
{{ $value->referral_code }}
|
{{ \Carbon\Carbon::parse($value->created_at)->format('d M Y') }} {{ \Carbon\Carbon::parse($value->created_at)->format('h:i A') }} |
{{ $value->days_ago }} days | @if($value->phone) @php $phone = preg_replace('/\D/', '', $value->phone); $msg = urlencode("Hi {$value->name}! ๐ You were invited to BestMart by {$value->referred_by_name}.\n\nDownload & signup with referral code: *{$value->referral_code}*\nGet 51 Reward Points instantly! ๐\n\nhttps://bestmart.in/api/s/{$value->referral_code}"); @endphp ๐ฌ Resend @else No phone @endif |
๐ Everyone installed the app! | ||||||
| # | Contact | Phone | Invited By | Date | Status | Action |
|---|---|---|---|---|---|---|
| {{ ($bulkInvites->currentPage()-1)*$bulkInvites->perPage() + $key + 1 }} | {{ $bi->contact_name ?: 'โ' }} | {{ $bi->contact_phone }} |
{{ $bi->inviter_name }}
{{ $bi->inviter_phone }}
{{ $bi->referral_code }}
|
{{ \Carbon\Carbon::parse($bi->invited_at)->format('d M Y') }} {{ \Carbon\Carbon::parse($bi->invited_at)->format('h:i A') }} |
@if($bi->status == 'installed') โ Installed @else โณ Pending @endif | @php $ph = preg_replace('/\D/', '', $bi->contact_phone); $msg = urlencode("Hi {$bi->contact_name}! ๐ You were invited to BestMart!\n\nSignup with code: *{$bi->referral_code}*\nGet 51 Reward Points! ๐\nhttps://bestmart.in/api/s/{$bi->referral_code}"); @endphp ๐ฌ Resend |
| No invite records found | ||||||
| # | Joined Person | Phone | Reward Points | Referred By | Joined Date |
|---|---|---|---|---|---|
| {{ ($userReferralData->currentPage()-1)*$userReferralData->perPage() + $key + 1 }} |
{{ strtoupper(substr($value->name ?? 'U', 0, 1)) }}
{{ $value->name ?? 'N/A' }}
@if($isToday)TODAY@endif
#{{ $value->id }} ยท {{ $value->email ?? '' }}
|
{{ $value->phone ?? 'โ' }} | โญ {{ $value->reward_points }} pts |
{{ $value->referred_by_name ?? 'โ' }}
{{ $value->referred_by_phone ?? '' }}
{{ $value->referral_code }}
|
{{ \Carbon\Carbon::parse($value->created_at)->format('d M Y') }} {{ \Carbon\Carbon::parse($value->created_at)->format('h:i A') }} |
No joined users found | |||||