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

Coupon Management

Go to main website
View →
Clear
@forelse($coupons as $coupon) @empty @endforelse
Code Type Details Usage Expires Status Actions

{{ $coupon->code }}

@if($coupon->description)

{{ Str::limit($coupon->description, 30) }}

@endif
@if($coupon->type === 'balance') Balance @else Product @endif @if($coupon->type === 'balance') USDT {{ number_format($coupon->amount, 2) }} @else
@if($coupon->product) {{ $coupon->product->name }}

{{ $coupon->product->name }}

Qty: {{ $coupon->quantity }}

@else Product Deleted @endif
@endif
{{ $coupon->used_count }} / {{ $coupon->max_uses }} View Redemptions
@if($coupon->expires_at) @if($coupon->isExpired()) {{ $coupon->expires_at->format('M j, Y') }} @else {{ $coupon->expires_at->format('M j, Y') }} @endif @else Never @endif @if(!$coupon->is_active) Inactive @elseif($coupon->isExpired()) Expired @elseif($coupon->isMaxUsesReached()) Max Uses @else Active @endif
@csrf @method('DELETE')

No coupons found

Create your first coupon to get started

@if($coupons->hasPages())
{{ $coupons->links() }}
@endif
@endsection