@extends('admin.layout.master') @section('title', 'Coupon') @section('content')
| # | Name | Start Date | End Date | Percentage | Purchase Amount | Auto Applied | Status | Action |
|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $coupon->name }} | {{ date('d-m-Y', strtotime($coupon->start_date)) }} | {{ date('d-m-Y', strtotime($coupon->end_date)) }} | {{ $coupon->percentage }} | {{ $coupon->purchase_amount }} | {{ $coupon->auto_applied ?? 'No' }} | @if ($coupon->status == 1) Active @else Inactive @endif | Edit |