| # | {{ __('Voucher Code') }} | {{ __('Voucher Amount') }} | {{ __('Status') }} | {{ __('Is Used') }} | {{ __('Send to User') }} | {{ __('Used By') }} | {{ __('Used At') }} | {{ __('Expires At') }} | {{ __('Created At') }} | {{ __('Actions') }} |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $row->id }} |
{{ $row->code }}
|
${{ number_format($row->amount, 2) }} | @if($row->status) {{ __('Active') }} @else {{ __('Not Active') }} @endif | @if($row->is_used) {{ __('Is Used') }} @else {{ __('Not used') }} @endif | @if($row->forUser) {{ $row->forUser->name }} @else — @endif | @if($row->usedBy) {{ $row->usedBy->name }} @else — @endif |
@if($row->used_at)
{{ $row->used_at->format('M j, Y') }} {{ $row->used_at->format('g:i A') }} @else — @endif |
@if($row->expires_at) {{ $row->expires_at->format('M j, Y') }} @else {{ __('No expiry') }} @endif |
{{ $row->created_at->format('M j, Y') }} {{ $row->created_at->format('g:i A') }} |
@can('update_charge_vouchers') @if(!$row->is_used) @endif @endcan @can('delete_charge_vouchers') @endcan |
| {{ __('No vouchers found.') }} | ||||||||||