@php $sNo = request()->page ? request()->page * 10 - 10 : 0; @endphp {{-- --}} @forelse ($coupans as $key => $coupan) {{-- @dd(getType($coupan->expire_at)) --}} {{-- --}} @empty @endforelse
#Sno. Code Discount Type Discount Code Discount Value Status Expiration Date Action Expired at Used By
{{ $sNo + $key+1 }} {{ $coupan->code}} {{ $coupan->discount_type }} {{ $coupan->discount_code=='one_time'?'One Time':'Multiple Time' }} {{ $coupan->discount_value }} {{ $coupan->expire_at}} {{ $coupan->user->name ? $coupan->user->name : '-' }}{{ $coupan->expiry_date ?? 'N/A' }}
Did not found any coupan