{{ number_format($totalCoupons) }}
Total Coupons
@if($totalCouponsGrowth >= 0) @else @endif {{ abs($totalCouponsGrowth) }}% vs last month{{ number_format($activeCoupons) }}
Active
@if($activeCouponsGrowth >= 0) @else @endif {{ abs($activeCouponsGrowth) }}% vs last month{{ number_format($usedCoupons) }}
Used
@if($usedCouponsGrowth >= 0) @else @endif {{ abs($usedCouponsGrowth) }}% vs last month{{ number_format($expiredCoupons) }}
Expired
@if($expiredCouponsGrowth >= 0) @else @endif {{ abs($expiredCouponsGrowth) }}% vs last month| S.No | User | Coupon Code | Days | Valid From | Valid To | Status | Used At | Actions |
|---|---|---|---|---|---|---|---|---|
| {{ $coupons->firstItem() + $index }} |
{{ strtoupper(substr($coupon->user->name ?? 'U', 0, 1)) }}
{{ $coupon->user->name ?? 'N/A' }} {{ $coupon->user->email ?? 'N/A' }} |
{{ $coupon->code }}
|
{{ $coupon->validity_days }} | {{ $coupon->valid_from->format('d M Y') }} | {{ $coupon->valid_to->format('d M Y') }} | {{ $statusText }} | {{ $coupon->used_at ? $coupon->used_at->timezone('Asia/Kolkata')->format('d M Y H:i') : '-' }} |
@if(!$coupon->is_used)
@endif
|
{{ $coupon->user->name ?? 'N/A' }}
{{ $coupon->user->email ?? 'N/A' }}
Coupon Code
{{ $coupon->code }}
Validity Days
{{ $coupon->validity_days }} days
Valid From
{{ $coupon->valid_from->format('d M Y') }}
Valid To
{{ $coupon->valid_to->format('d M Y') }}
Used At
{{ $coupon->used_at ? $coupon->used_at->timezone('Asia/Kolkata')->format('d M Y') : '-' }}
No coupon codes found