Users with active and valid subscriptions
Users with active and valid subscriptions
{{ $users->total() }}
Total Users
| S.No | User | Validity From | Validity To | Days Left | Coupon Used | Status | Actions | |
|---|---|---|---|---|---|---|---|---|
| {{ $users->firstItem() + $index }} |
{{ strtoupper(substr($user->name, 0, 1)) }}
{{ $user->name }}
#{{ $user->id }}
|
{{ $user->email }} | {{ $user->validity_from ? $user->validity_from->format('d M Y') : 'N/A' }} | {{ $user->validity_to ? $user->validity_to->format('d M Y') : 'N/A' }} | {{ $daysLeft }} days |
@php
$usedCoupon = $user->coupons->first();
@endphp
@if($usedCoupon)
Used
{{ $usedCoupon->code }}
@if($usedCoupon->used_at)
{{ $usedCoupon->used_at->timezone('Asia/Kolkata')->format('d M Y') }}
@endif
Not Used
@endif
|
Active | |
No Valid Subscription UsersNo users with active subscriptions found. |
||||||||