@extends("layouts.admin") @section("title", "Coupons") @section("content")
| Code | Type | Value | Valid | Used | |
|---|---|---|---|---|---|
| {{ $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 : "" }} |