{!! $voucher->metadata['name'] !!} / {{ $voucher->code }}
|
{{ optional(optional($voucher->owner)->user)->name }}
|
{{ optional(optional($voucher->owner)->user)->mobile }}
|
{{ $voucher->created_at->format('Y-m-d H:i') }}
|
{{ $voucher->expires_at->format('Y-m-d H:i') }}
|
@if ($voucher->isRedeemable() == true)
可使用
@elseif ($voucher->isRedeemed() == true)
已使用,於 {{ $voucher->redeemed_at }}
@elseif ($voucher->isStarted() != true)
未啟用
@elseif ($voucher->isExpired() == true)
已過期
@else
無效
@endif
|
|
@endforeach
@else
@include('admin.panels.list-no-data')
@endif