Coupon
{{----}}
{{--
--}}
--}}
{{-- --}}
{{-- 10 02 2020--}}
{{-- --}}
{{-- --}}
{{--
--}}
{{-- To
--}} {{----}}
{{-- --}}
{{-- 10 02 2020--}}
{{-- --}}
{{-- --}}
{{--
--}}
{{-- | S.NO | Code | Discount | Expiry | Active/Inactive | |
|---|---|---|---|---|---|
| {{$counter}} | {{$coupon->code}} |
@if($coupon->type == 'percentage')
{{$coupon->value}}% OFF@else${{$coupon->value}} OFF@endif |
{{$coupon->expiration_date}} | @if($coupon->status == 1 && $coupon->expiration_date >= date('Y-m-d'))active |
@else
inactive |
@endif
Point
{{----}}
{{--
--}}
--}}
{{-- --}}
{{-- 10 02 2020--}}
{{-- --}}
{{-- --}}
{{--
--}}
{{-- To
--}} {{----}}
{{-- --}}
{{-- 10 02 2020--}}
{{-- --}}
{{-- --}}
{{--
--}}
{{-- | Total Points | Expiry | Action |
|---|---|---|
| {{$point->points_count ?? 0}} | {{$point->expiry ?? ''}} |
--}}
{{-- @php $counter = 1; @endphp--}}
{{-- @forelse($coupons as $coupon)--}}
{{--
--}}
--}}
{{-- {{$counter}}--}}
{{-- {{$coupon->code}}--}}
{{-- --}}
{{-- @else--}}
{{-- --}}
{{-- @endif--}}
{{--
--}}
{{-- @php $counter++; @endphp--}}
{{-- @empty--}}
{{-- @endforelse--}}
{{-- {{$coupons->links('vendor.pagination.user-dashboard')}}--}}
{{-- --}}
{{-- @if($coupon->type == 'percentage')--}}
{{--
--}}
{{-- {{$coupon->value}}% OFF
--}} {{-- @else--}} {{--${{$coupon->value}} OFF
--}} {{-- @endif--}} {{----}}
{{-- {{$coupon->expiration_date}}--}}
{{--
--}}
{{-- @if($coupon->status == 1 && $coupon->expiration_date >= date('Y-m-d'))--}}
{{-- active
inactive