PIN inventory

Issued means assigned for email delivery. Email status is shown in Receipt verification. TNG redemption cannot be confirmed here. Expired and issued PINs are never reused. Eligible manually removed PINs can be restored. Resending a reward uses the same issued PIN.

Clear filters

{{ $pins->total() }} matching {{ $pins->total()===1?'PIN':'PINs' }}. Available means unused and unexpired.

@foreach(['reward'=>'Reward','pin'=>'PIN ending','status'=>'Status','expiry'=>'Use before','issued'=>'Issued'] as $key=>$heading) @endforeach@forelse($pins as $pin)@empty@endforelse
{{ $heading }} Added onAction
{{ $pin->name }}•••• {{ $pin->hint }}{{ $pin->inventory_status==='void'?'Removed':ucfirst($pin->inventory_status) }}{{ \Carbon\Carbon::parse($pin->expires_on)->format('d M Y') }}@php($days=(int)today()->diffInDays(\Carbon\Carbon::parse($pin->expires_on),false)){{ $days<=0?'Expired':$days.' '.($days===1?'day':'days').' left' }}{{ $pin->issued_at ?: '—' }}{{ $pin->added_at ? \Carbon\Carbon::parse($pin->added_at)->format('d M Y, H:i') : 'Not recorded' }}
View details
Added by
{{ $pin->added_by ?: 'Not recorded' }}
Assigned to
@if($pin->assigned_receipt_id)Receipt {{ $pin->assigned_receipt }}{{ $pin->assigned_email }}@else Not assigned @endif
@if($pin->removed_at)
Last removed
{{ $pin->removed_at }} · {{ $pin->removed_by_name ?: 'Admin unavailable' }}
@endif @if($pin->restored_at)
Last restored
{{ $pin->restored_at }} · {{ $pin->restored_by_name ?: 'Admin unavailable' }}
@endif
Email delivery
{{ $pin->assigned_spin_id ? (['queued'=>'Pending','sending'=>'Sending','sent'=>'Email sent','failed'=>'Failed','skipped'=>'Not sent'][$pin->delivery_status] ?? 'Not queued') : 'Not applicable' }}@if($pin->delivery_status==='sent'){{ $pin->delivery_sent_at }}@endif
Email sent does not confirm PIN redemption.@if($pin->status==='void' && $pin->manually_removed && !$pin->ever_assigned && !$pin->spin_id && !$pin->issued_at && $pin->expires_on>today()->toDateString())
@csrf
@elseif($pin->status==='void')

Restoration unavailable: unused history cannot be verified, the PIN was assigned, or the cutoff has passed.

@endif
@if($pin->status==='available')
@csrf
@endif
No PINs match these filters.