@extends('layouts.new_theme') @section('content')

{{ __('Coupons') }}

@include('common.demo') @include('common.admin') @include('common.errors')

{{ __('List of Coupons') }} {{ __('Add Coupon') }}

@if (!count($coupons))

{{ __('No data found') }} !!

{{ __('Sorry we cant find any data, to get rid of this message, make at least 1 entry') }}.

@else
@foreach ($coupons as $coupon) @if ($coupon->start_date) @else @endif @if ($coupon->expiry_date) @else @endif @if ($coupon->status == '1') @elseif ($coupon->status == '0') @endif @endforeach
{{ __('Coupon Code') }} {{ __('Starting Date') }} {{ __('Expiry Date') }} {{ __('Discount') }} {{ __('Type') }} {{ __('Status') }}
{{ $coupon->coupon_code }}{{ $coupon->start_date }}{{ _('NA') }}{{ $coupon->expiry_date }}{{ _('NA') }}{{ $coupon->amount }} {{ $coupon->type }} {{ __('Active') }} {{ __('Inactive') }}
@method('DELETE') @csrf

{{ $coupons->appends($request->all())->links('pagination::bootstrap-4') }}
@endif
@endsection