@extends('layouts.app_admin') @section('content')
@include('admin.session_message.success') @include('admin.session_message.error')
@foreach($coupon as $value) @endforeach
S. No. Coupon Code Min Order Amount Discount Status Action
{{ $loop->iteration }} {{ $value->code }} {{ $value->price }} {{ $value->percentage }} @if($value->status == 'active') Active @else Inactive @endif
@endsection