@extends("layouts.admin") @section("title", "Coupons") @section("content")
@foreach($coupons as $coupon) @endforeach
CodeTypeValueValidUsed
{{ $coupon->code }} {{ $coupon->type }} {{ $coupon->type === "percentage" ? $coupon->value."%" : "₹".$coupon->value }} {{ $coupon->start_date->format("d M") }} - {{ $coupon->end_date->format("d M Y") }} {{ $coupon->usages_count }}{{ $coupon->usage_limit ? "/".$coupon->usage_limit : "" }}
@csrf @method("DELETE")

Add Coupon

@csrf
@endsection