{{-- navbar - side --}}
@include('admin.layouts.nav')
{{ __('Coupons') }}
@if(Request::exists('search'))
@else
@endif
| {{ __('CODE') }} |
{{ __('Type') }} |
{{ __('Amount / %') }} |
{{ __('Amount 2') }} |
{{ __('Usage Limit') }} |
{{ __('Created On') }} |
{{ __('Status') }} |
{{ __('Actions') }} |
@forelse ($coupons as $coupon)
| {{ $coupon->code }} |
@if ($coupon->type==1 || $coupon->type=="")
{{ __("Amount") }} |
@elseif ($coupon->type==2)
{{ __("%") }} |
@elseif($coupon->type == 3)
{{ __("Incentive") }} |
@endif
{{ $coupon->amount }} |
{{ $coupon->amount_2 }} |
{{ $coupon->usage_limit }} |
{{ \Carbon\Carbon::parse($coupon->created_at)->format('jS F Y') }} |
|
|
@empty
|
{{ __('Looks like there\'s a VOID!') }}
|
@endforelse
{{ $coupons->withQueryString()->render("pagination::bootstrap-5") }}
@endsection
@extends('admin.layouts.footer')