@forelse ($coupons as $index => $coupon) @empty @endforelse
{{ __('SN') }} {{ __('Coupon Code') }} {{ __('Min Price') }} {{ __('Offer') }} {{ __('End time') }} {{ __('Status') }} {{ __('Action') }}
{{ ++$index }} {{ $coupon->coupon_code }} {{ currency($coupon->min_price) }} {{ $coupon->offer_percentage }}% {{ formattedDate($coupon->expired_date) }} status == 'active' ? 'checked' : '' }} data-toggle="toggle" data-onlabel="{{ __('Active') }}" data-offlabel="{{ __('Inactive') }}" data-onstyle="success" data-offstyle="danger">