@extends('layouts.admin') @section('title', 'Coupons') @section('page_title', 'Coupons') @section('toolbar') Add Coupon @endsection @section('content')
| Code | Offer | Min order | Used | Validity | Status | Actions |
|---|---|---|---|---|---|---|
|
{{ $coupon->code }}
@if($coupon->description)
{{ $coupon->description }}
@endif
|
{{ $coupon->label() }} | {{ $coupon->min_order > 0 ? '₹'.number_format($coupon->min_order, 0) : '—' }} | {{ $coupon->used_count }}{{ $coupon->usage_limit ? ' / '.$coupon->usage_limit : '' }} | @if($coupon->starts_at || $coupon->expires_at) {{ $coupon->starts_at?->format('d M Y') ?? 'Now' }} – {{ $coupon->expires_at?->format('d M Y') ?? 'No end' }} @else Always @endif | {{ $coupon->is_active ? 'Active' : 'Inactive' }} | |
| No coupons yet. | ||||||