@extends('user.layouts.master') @section('user_content')
# | COUPON CODE | COUPON VALUE | COUPON VALIDITY | COUPON USED BY | CREATED AT | ACTION |
---|---|---|---|---|---|---|
{{$loop->index+1}} | {{$row->coupon_code}} | {{$row->coupon_value}} | @if($row->validity == 0) Valid @else Used @endif | @if($row->owned_by != null) {{$row->owned->user_name}} @else -- @endif | {{$row->created_at}} |