{{-- --}}
@endsection
| Sl | Coupon Name | Coupon Discount | Validity Date | Coupon Validity | Product | Status | Action |
|---|---|---|---|---|---|---|---|
| {{ $key+1 }} | {{ $item->coupon_name }} | {{ $item->coupon_discount }}% | {{ Carbon\Carbon::parse($item->coupon_validity)->format('D, d F Y') }} | @if ($item->coupon_validity >= Carbon\Carbon::now()->format('Y-m-d')) Valid @else Invalid @endif | {{ $item->product }} | @if ($item->status == 1) Active @else Inactive @endif | @if (Auth::user()->can('coupon.edit')) Edit @endif @if($item->status == 1 ) @if (Auth::user()->can('coupon.deactivate')) @endif @else @if (Auth::user()->can('coupon.activate')) @endif @endif @if (Auth::user()->can('coupon.delete')) Delete @endif |
| Sl | Coupon Name | Coupon Discount | Validity Date | Coupon Validity | Product | Status | Action |