@if ($panel === 'seller')
Your coupons apply only to your products. The discount is taken from your earnings for those orders, and your GST invoice shows the lower price.
@endif New coupon
@if ($coupons->isEmpty()) @else
@foreach ($coupons as $c) @php $u = $used[$c->code] ?? null; $live = $c->is_active && (! $c->starts_at || $c->starts_at->isPast()) && (! $c->ends_at || $c->ends_at->isFuture()); @endphp @endforeach
CodeDiscountConditionsValidUsedStatus
{{ $c->code }}@if ($panel === 'admin' && $c->store) {{ $c->store->name }}@endif
{{ Str::limit($c->description, 50) }}
{{ $c->headline() }}@if ($c->max_discount)
up to {{ inr($c->max_discount) }}
@endif
{{ (float) $c->min_order > 0 ? 'Min. '.inr($c->min_order) : 'No minimum' }}
{{ $c->per_user_limit }}× per customer{{ $c->usage_limit ? ' · '.$c->usage_limit.' total' : '' }}
{{ $c->starts_at?->format('d M Y') ?? 'Now' }} → {{ $c->ends_at?->format('d M Y') ?? 'No end' }} {{ $u->n ?? 0 }}@if ($u)
{{ inr($u->saved) }} off
@endif
@if ($live)Live@elseif (! $c->is_active)Off@elseif ($c->ends_at?->isPast())Expired@elseScheduled@endif Edit
@if ($coupons->hasPages())@endif @endif