@foreach($pendingStats as $card)
@endforeach
Reward Coupon Performance
@include('admin.reports.partials._filter-bar', [
'searchFirst' => true,
'searchId' => 'pendingSearch',
'dateId' => 'pendingDateRange',
'select1Id' => 'pendingLastAction',
'select1Label' => 'Last Action',
'select1Options' => [
'opened_offer' => 'Opened Offer',
'scanned_only' => 'Scanned Only',
'payment_started' => 'Payment Started',
'all' => 'All'
],
'select1Selected' => 'opened_offer',
'select2Id' => 'pendingStatus',
'select2Label' => 'Status',
'select2Options' => [
'pending' => 'Pending',
'payment_pending' => 'Payment Pending',
'all' => 'All'
],
'select2Selected' => 'pending'
])
| User Name |
Coupon Code |
Last Action |
Date & Time |
Offer Opened |
Status |
Actions |
@foreach($pendingRecords as $row)
{{ $row['user_name'] }}
{{ $row['user_role'] }}
|
{{ $row['coupon_code'] }} |
{{ $row['last_action'] }}
|
@if($row['date_time'])
@else
@endif
|
@if($row['offer_opened'])
@else
@endif
|
{{ $row['status'] }}
|
@if(($row['action_type'] ?? 'filled') === 'filled')
@else
@endif
|
@endforeach
@include('admin.reports.partials._table-pagination', ['count' => count($pendingRecords)])